UnoArcade contains two projects in four arduino sketches that can turn an Arduino UNO into a USB mouse for trackball control or a 16 key USB keyboard configured for single player MAME arcade game control.
- UnoArcade_Keyboard_16u2/UnoArcade_Keyboard_16u2.ino
- UnoArcade_Keyboard_Uno/UnoArcade_Keyboard_Uno.ino
- UnoArcade_Mouse_16u2/UnoArcade_Mouse_16u2.ino
- UnoArcade_Mouse_Uno/UnoArcade_Mouse_Uno.ino
See source files for pin usage and specific instructions.
👾 🖲️ 👾 ⌨️ 👾 🕹️ 👾 🖱️ 👾 🖲️ 👾 ⌨️ 👾 🕹️ 👾 🖱️ 👾
The projects rely on HoodLoader2 to give the Arduino UNO the ability to be a USB HID device.
- HoodLoader2 Hardware Installation instructions
- I followed this option to self program the Arduino UNO
- Install Serial drivers and Board Definitions
- Install HID project
To learn more about USB HID (Human Interface Device) descriptors, check out ELECCELERATOR's excellent tutorial page
My coin op cabinets (left to right: custom cocktail cabinet, Happy Fun Box MK3 rebuild, working 1/3 scale replica of Happy Fun Box