├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── Images
├── Arduino-Circuit-Diagram.png
├── Arduino_1.jpg
├── Arduino_2.jpg
├── Arduino_3.jpg
├── Arduino_4.jpg
├── Arduino_5.jpg
├── Arduino_6.jpg
├── Arduino_7.jpg
├── Arduino_Cheatsheet.png
└── binance.jpg
├── IoT-Arduino-Game-Controller-Java
├── .classpath
├── .project
├── bin
│ ├── GameController
│ │ ├── Arduino.class
│ │ └── Main.class
│ └── Mouse
│ │ ├── Mouse.class
│ │ └── Mouse.xtend
├── org.sintef.jarduino.core-0.1.7-SNAPSHOT.jar
├── org.sintef.jarduino.gui-0.1.7-SNAPSHOT.jar
├── rxtxSerial.dll
└── src
│ ├── GameController
│ ├── Arduino.java
│ └── Main.java
│ └── Mouse
│ └── Mouse.java
├── IoT-Arduino-Game-Controller-Presentation-German.pdf
├── LICENSE
└── README.md
/CODE_OF_CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Contributor Covenant Code of Conduct
2 |
3 | ## Our Pledge
4 |
5 | In the interest of fostering an open and welcoming environment, we as
6 | contributors and maintainers pledge to making participation in our project and
7 | our community a harassment-free experience for everyone, regardless of age, body
8 | size, disability, ethnicity, sex characteristics, gender identity and expression,
9 | level of experience, education, socio-economic status, nationality, personal
10 | appearance, race, religion, or sexual identity and orientation.
11 |
12 | ## Our Standards
13 |
14 | Examples of behavior that contributes to creating a positive environment
15 | include:
16 |
17 | * Using welcoming and inclusive language
18 | * Being respectful of differing viewpoints and experiences
19 | * Gracefully accepting constructive criticism
20 | * Focusing on what is best for the community
21 | * Showing empathy towards other community members
22 |
23 | Examples of unacceptable behavior by participants include:
24 |
25 | * The use of sexualized language or imagery and unwelcome sexual attention or
26 | advances
27 | * Trolling, insulting/derogatory comments, and personal or political attacks
28 | * Public or private harassment
29 | * Publishing others' private information, such as a physical or electronic
30 | address, without explicit permission
31 | * Other conduct which could reasonably be considered inappropriate in a
32 | professional setting
33 |
34 | ## Our Responsibilities
35 |
36 | Project maintainers are responsible for clarifying the standards of acceptable
37 | behavior and are expected to take appropriate and fair corrective action in
38 | response to any instances of unacceptable behavior.
39 |
40 | Project maintainers have the right and responsibility to remove, edit, or
41 | reject comments, commits, code, wiki edits, issues, and other contributions
42 | that are not aligned to this Code of Conduct, or to ban temporarily or
43 | permanently any contributor for other behaviors that they deem inappropriate,
44 | threatening, offensive, or harmful.
45 |
46 | ## Scope
47 |
48 | This Code of Conduct applies both within project spaces and in public spaces
49 | when an individual is representing the project or its community. Examples of
50 | representing a project or community include using an official project e-mail
51 | address, posting via an official social media account, or acting as an appointed
52 | representative at an online or offline event. Representation of a project may be
53 | further defined and clarified by project maintainers.
54 |
55 | ## Enforcement
56 |
57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be
58 | reported by contacting the project team at GitHub. All
59 | complaints will be reviewed and investigated and will result in a response that
60 | is deemed necessary and appropriate to the circumstances. The project team is
61 | obligated to maintain confidentiality with regard to the reporter of an incident.
62 | Further details of specific enforcement policies may be posted separately.
63 |
64 | Project maintainers who do not follow or enforce the Code of Conduct in good
65 | faith may face temporary or permanent repercussions as determined by other
66 | members of the project's leadership.
67 |
68 | ## Attribution
69 |
70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71 | available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
72 |
73 | [homepage]: https://www.contributor-covenant.org
74 |
75 | For answers to common questions about this code of conduct, see
76 | https://www.contributor-covenant.org/faq
77 |
--------------------------------------------------------------------------------
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | # Contributing
2 |
3 | Contribute per PR (Pull Request), if you have an Idea or found a bug, open a Issue.
4 |
5 | ## Pull Request Process
6 |
7 | 1. Create a Pull Request and it will be reviewed
--------------------------------------------------------------------------------
/Images/Arduino-Circuit-Diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/Images/Arduino-Circuit-Diagram.png
--------------------------------------------------------------------------------
/Images/Arduino_1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/Images/Arduino_1.jpg
--------------------------------------------------------------------------------
/Images/Arduino_2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/Images/Arduino_2.jpg
--------------------------------------------------------------------------------
/Images/Arduino_3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/Images/Arduino_3.jpg
--------------------------------------------------------------------------------
/Images/Arduino_4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/Images/Arduino_4.jpg
--------------------------------------------------------------------------------
/Images/Arduino_5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/Images/Arduino_5.jpg
--------------------------------------------------------------------------------
/Images/Arduino_6.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/Images/Arduino_6.jpg
--------------------------------------------------------------------------------
/Images/Arduino_7.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/Images/Arduino_7.jpg
--------------------------------------------------------------------------------
/Images/Arduino_Cheatsheet.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/Images/Arduino_Cheatsheet.png
--------------------------------------------------------------------------------
/Images/binance.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/Images/binance.jpg
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/.classpath:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/.project:
--------------------------------------------------------------------------------
1 |
2 |
3 | IoT-Arduino-Game-Controller-Java
4 |
5 |
6 |
7 |
8 |
9 | org.eclipse.xtext.ui.shared.xtextBuilder
10 |
11 |
12 |
13 |
14 | org.eclipse.jdt.core.javabuilder
15 |
16 |
17 |
18 |
19 |
20 | org.eclipse.jdt.core.javanature
21 | org.eclipse.xtext.ui.shared.xtextNature
22 |
23 |
24 |
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/bin/GameController/Arduino.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/IoT-Arduino-Game-Controller-Java/bin/GameController/Arduino.class
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/bin/GameController/Main.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/IoT-Arduino-Game-Controller-Java/bin/GameController/Main.class
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/bin/Mouse/Mouse.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/IoT-Arduino-Game-Controller-Java/bin/Mouse/Mouse.class
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/bin/Mouse/Mouse.xtend:
--------------------------------------------------------------------------------
1 | package Mouse
2 |
3 | import java.awt.AWTException
4 | import java.awt.GraphicsDevice
5 | import java.awt.GraphicsEnvironment
6 | import java.awt.MouseInfo
7 | import java.awt.Robot
8 | import java.util.Random
9 |
10 | class Mouse {
11 | public static final int FIVE_SECONDS = 5000
12 | static package GraphicsDevice gd = GraphicsEnvironment::getLocalGraphicsEnvironment().getDefaultScreenDevice()
13 | // Get Screen Height & Width
14 | public static final int MAX_Y = gd.getDisplayMode().getHeight()
15 | public static final int MAX_X = gd.getDisplayMode().getWidth()
16 | static package int mouseX = MouseInfo::getPointerInfo().getLocation().x
17 | static package int mouseY = MouseInfo::getPointerInfo().getLocation().y
18 | static package Random random = new Random()
19 |
20 | def private static void refreshMouseInfo() {
21 | mouseX = MouseInfo::getPointerInfo().getLocation().x
22 | mouseY = MouseInfo::getPointerInfo().getLocation().y
23 | }
24 |
25 | def private static void Move(int x, int y) throws AWTException {
26 | refreshMouseInfo()
27 | var Robot robot = new Robot()
28 | robot.mouseMove(x, y)
29 | }
30 |
31 | def private static void animateMove(int x, int y) throws AWTException, InterruptedException {
32 | refreshMouseInfo()
33 | var Robot robot = new Robot()
34 | while (x !== mouseX && x !== mouseY) {
35 | Thread::sleep(5)
36 | refreshMouseInfo()
37 | if (mouseX > x) {
38 | robot.mouseMove(mouseX - 1, y)
39 | } else if (mouseX < x) {
40 | robot.mouseMove(mouseX + 1, y)
41 | } else if (mouseY > y) {
42 | robot.mouseMove(x, mouseY - 1)
43 | } else if (mouseY < y) {
44 | robot.mouseMove(x, mouseY + 1)
45 | }
46 |
47 | }
48 |
49 | }
50 |
51 | def static void main(String[] args) throws AWTException, InterruptedException {
52 | animateMove(5000, 600)
53 | }
54 |
55 | }
56 |
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/org.sintef.jarduino.core-0.1.7-SNAPSHOT.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/IoT-Arduino-Game-Controller-Java/org.sintef.jarduino.core-0.1.7-SNAPSHOT.jar
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/org.sintef.jarduino.gui-0.1.7-SNAPSHOT.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/IoT-Arduino-Game-Controller-Java/org.sintef.jarduino.gui-0.1.7-SNAPSHOT.jar
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/rxtxSerial.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/IoT-Arduino-Game-Controller-Java/rxtxSerial.dll
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/src/GameController/Arduino.java:
--------------------------------------------------------------------------------
1 | package GameController;
2 |
3 | import java.awt.AWTException;
4 |
5 | import org.sintef.jarduino.*;
6 | import Mouse.Mouse;
7 |
8 | public class Arduino extends JArduino {
9 |
10 | //Constructor taking a String describing the serial port where the Arduino Board is connected (eg, "COM7")
11 | public Arduino(String port) {
12 | super(port);
13 | }
14 |
15 | private DigitalState buttonLeft;
16 | private DigitalState buttonUp;
17 | private DigitalState buttonDown;
18 | private DigitalState buttonRight;
19 |
20 | private DigitalState buttonMouseLeft;
21 |
22 | private DigitalState buttonExit;
23 |
24 | private Integer speed;
25 |
26 | private Mouse mouse = new Mouse();
27 |
28 | @Override
29 | protected void loop() {
30 | buttonLeft = digitalRead(DigitalPin.PIN_2);
31 | buttonDown = digitalRead(DigitalPin.PIN_4);
32 | buttonUp = digitalRead(DigitalPin.PIN_5);
33 | buttonRight = digitalRead(DigitalPin.PIN_10);
34 |
35 | buttonMouseLeft = digitalRead(DigitalPin.PIN_6);
36 | buttonExit = digitalRead(DigitalPin.PIN_7);
37 |
38 | speed = (int) analogRead(AnalogPin.A_0) / 8;
39 |
40 | System.out.println(buttonLeft.toString() + buttonUp + buttonDown + buttonRight + " // MOUSE // " + buttonMouseLeft);
41 |
42 | if(buttonLeft.toString().equals("LOW") ){
43 | try {
44 | mouse.moveLeft(speed);
45 | } catch (AWTException e) {
46 | e.printStackTrace();
47 | }
48 | }else if(buttonUp.toString().equals("LOW") ){
49 | try {
50 | mouse.moveUp(speed);
51 | } catch (AWTException e) {
52 | e.printStackTrace();
53 | }
54 | }else if(buttonDown.toString().equals("LOW") ){
55 | try {
56 | mouse.moveDown(speed);
57 | } catch (AWTException e) {
58 | e.printStackTrace();
59 | }
60 | }else if(buttonRight.toString().equals("LOW") ){
61 | try {
62 | mouse.moveRight(speed);
63 | } catch (AWTException e) {
64 | e.printStackTrace();
65 | }
66 | }else if(buttonMouseLeft.toString().equals("LOW") ){
67 | try {
68 | mouse.click();
69 | } catch (AWTException e) {
70 | e.printStackTrace();
71 | }
72 | }else if(buttonExit.toString().equals("LOW") ){
73 | try {
74 | System.out.println("EXIT PRESSED");
75 | System.exit(0);
76 | } catch (Exception e) {
77 | e.printStackTrace();
78 | }
79 | }
80 | //delay(1000); // wait for a second
81 | }
82 |
83 | @Override
84 | protected void setup() {
85 | pinMode(DigitalPin.PIN_2, PinMode.INPUT);
86 | // PIN 3 was broken on this Arduino
87 | pinMode(DigitalPin.PIN_10, PinMode.INPUT);
88 | pinMode(DigitalPin.PIN_4, PinMode.INPUT);
89 | pinMode(DigitalPin.PIN_5, PinMode.INPUT);
90 | pinMode(DigitalPin.PIN_6, PinMode.INPUT);
91 | pinMode(DigitalPin.PIN_7, PinMode.INPUT);
92 | }
93 |
94 | }
95 |
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/src/GameController/Main.java:
--------------------------------------------------------------------------------
1 | package GameController;
2 |
3 | import org.sintef.jarduino.JArduino;
4 |
5 | public class Main {
6 |
7 | public static void main(String[] args) {
8 |
9 | JArduino arduino = new Arduino("COM4");
10 | arduino.runArduinoProcess();
11 |
12 | }
13 |
14 | }
15 |
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Java/src/Mouse/Mouse.java:
--------------------------------------------------------------------------------
1 | package Mouse;
2 |
3 | /**
4 | * A simple Mouse Library for controlling the Mouse with Java.
5 | *
6 | * @author Alpay Yildirim
7 | * @version 1.0
8 | */
9 |
10 | import java.awt.AWTException;
11 | import java.awt.GraphicsDevice;
12 | import java.awt.GraphicsEnvironment;
13 | import java.awt.MouseInfo;
14 | import java.awt.Robot;
15 | import java.awt.event.InputEvent;
16 | import java.util.Random;
17 |
18 | public class Mouse {
19 |
20 | static GraphicsDevice gd = GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice(); // Get Screen Height & Width
21 | public static final int MAX_Y = gd.getDisplayMode().getHeight(); // Gets the Monitor Height & Width (Works with multiple Monitors)
22 | public static final int MAX_X = gd.getDisplayMode().getWidth();
23 | static int mouseX = MouseInfo.getPointerInfo().getLocation().x;
24 | static int mouseY = MouseInfo.getPointerInfo().getLocation().y;
25 | static Random random = new Random();
26 |
27 |
28 | public static void refreshMouseInfo(){ //updates the Actual Position of the Mouse
29 | mouseX = MouseInfo.getPointerInfo().getLocation().x;
30 | mouseY = MouseInfo.getPointerInfo().getLocation().y;
31 | }
32 |
33 | public static void move(int x,int y) throws AWTException{ //Moves the Mouse to the position
34 | refreshMouseInfo();
35 | Robot robot = new Robot();
36 | robot.mouseMove(x,y);
37 | }
38 |
39 | //Moving Mouse in Directions
40 |
41 | public static void moveUp() throws AWTException{ //Moves the Mouse to the position
42 | refreshMouseInfo();
43 | Robot robot = new Robot();
44 | robot.mouseMove(mouseX,--mouseY );
45 | }
46 |
47 | public static void moveDown() throws AWTException{ //Moves the Mouse to the position
48 | refreshMouseInfo();
49 | Robot robot = new Robot();
50 | robot.mouseMove(mouseX,++mouseY );
51 | }
52 |
53 | public static void moveLeft() throws AWTException{ //Moves the Mouse to the position
54 | refreshMouseInfo();
55 | Robot robot = new Robot();
56 | robot.mouseMove(--mouseX,mouseY );
57 | }
58 |
59 | public static void moveRight() throws AWTException{ //Moves the Mouse to the position
60 | refreshMouseInfo();
61 | Robot robot = new Robot();
62 | robot.mouseMove(++mouseX,mouseY );
63 | }
64 |
65 | //Moving Mouse in Directions with adjustable Mouse Speed
66 |
67 | public static void moveUp(Integer speed) throws AWTException{ //Moves the Mouse to the position
68 | refreshMouseInfo();
69 | Robot robot = new Robot();
70 | robot.mouseMove(mouseX,mouseY -= speed );
71 | }
72 |
73 | public static void moveDown(Integer speed) throws AWTException{ //Moves the Mouse to the position
74 | refreshMouseInfo();
75 | Robot robot = new Robot();
76 | robot.mouseMove(mouseX,mouseY += speed );
77 | }
78 |
79 | public static void moveLeft(Integer speed) throws AWTException{ //Moves the Mouse to the position
80 | refreshMouseInfo();
81 | Robot robot = new Robot();
82 | robot.mouseMove(mouseX -= speed,mouseY );
83 | }
84 |
85 | public static void moveRight(Integer speed) throws AWTException{ //Moves the Mouse to the position
86 | refreshMouseInfo();
87 | Robot robot = new Robot();
88 | robot.mouseMove(mouseX += speed,mouseY );
89 | }
90 |
91 | //Mouse Click
92 |
93 | public static void click() throws AWTException{
94 | Robot robot = new Robot();
95 | robot.mousePress(InputEvent.BUTTON1_MASK);
96 | robot.mouseRelease(InputEvent.BUTTON1_MASK);
97 | }
98 |
99 |
100 | public static void animateMove(int x,int y,int speed) throws AWTException, InterruptedException{ //Makes a Mouse animation to the Point
101 | refreshMouseInfo();
102 | Robot robot = new Robot();
103 |
104 | while(x != mouseX || y != mouseY){
105 | Thread.sleep(speed);
106 | refreshMouseInfo();
107 | if(mouseX > x){
108 | robot.mouseMove(mouseX - 1,mouseY);
109 | }else if(mouseX < x){
110 | robot.mouseMove(mouseX + 1,mouseY);
111 | }else if(mouseY < y){
112 | robot.mouseMove(mouseX,mouseY + 1);
113 | }else if(mouseY > y){
114 | robot.mouseMove(mouseX,mouseY - 1);
115 | }
116 | }
117 | }
118 | }
--------------------------------------------------------------------------------
/IoT-Arduino-Game-Controller-Presentation-German.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/IDouble/IoT-Arduino-Game-Controller-Java/3d5dcb30aff6b6c84a8819594a2de49b733bd28b/IoT-Arduino-Game-Controller-Presentation-German.pdf
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 Alpay Yildirim
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 🎮 IoT Arduino Game Controller Java ☕️
2 | 🎮 A **Game controller** realized with an **Arduino**, I modified the **Arduino** bootloader to program with **Java** ☕️
3 |
4 | Don't get me wrong, I can easily program this in standard C too, but I like the aspects of **OOP (object-oriented programming)**.
5 | That's the reason why I mostly prefer **Java** / C++ over ANSI C.
6 |
7 | ([**JArduino**](https://github.com/SINTEF-9012/JArduino)) was used in this project to communicate with the Pins (GPIO) of the **Arduino**.
8 |
9 | In this project I used my own written **Java** Classes ([**Mouse**](https://github.com/AYIDouble/Mouse)) and ([**Keyboard**](https://github.com/AYIDouble/Keyboard)) to send signals to the Mouse and the Keyboard, when buttons on the **Game Controller** are being pressed.
10 |
11 | ## ⚙️ Concept ⚙️
12 |
13 | 
14 |
15 |
16 | ## 🖼 Images 🖼
17 |
18 | 
19 | 
20 |
21 | ## 📝 Notes 📝
22 |
23 | ### In the context of Arduino
24 |
25 | - **Digital** means **0 or 1 (1-Bit)**
26 | - **Analog** means a number between **0 ... 255 (8-Bit)**
27 | - The **Output** of the Arduino is **40 Milliampere (mA)**
28 |
29 | ### 📝 Cheatsheet 📝
30 |
31 | 
32 |
33 | 
34 |
--------------------------------------------------------------------------------