18 lines
616 B
Org Mode
18 lines
616 B
Org Mode
|
* What is this?
|
||
|
This is a simple recipe for turning your Arduino into a usable
|
||
|
joystick/gamepad.
|
||
|
|
||
|
I am using [[https://robotdyn.com/joystick-shield-for-arduino.html][RobotDyn Joystick shield]] which makes the whole process
|
||
|
trivial.
|
||
|
|
||
|
* Compiling
|
||
|
Install the dependencies:
|
||
|
- [[https://github.com/sudar/Arduino-Makefile][Arduino Makefile]] (available as arduino-mk in Ubuntu/Debiab)
|
||
|
- [[https://github.com/MHeironimus/ArduinoJoystickLibrary][Arduino Joystick Library]]
|
||
|
|
||
|
Then just run ~make~ and ~make upload~ to flash the board.
|
||
|
|
||
|
* Wiring
|
||
|
There is nothing to wire -- just pop the shield onto your board and
|
||
|
plug it in!
|