Analog gameport joystick -> USB HID joystick, using a Pro Micro module.
- using HID-Project library - need to install this in the Arduino IDE.
- parts from pro micro tutorial
- hat switches
- hat switches
- linearization of the response
| Game port | Function | Pro Micro pin | |----|------|----------|-----------------| | 1 | Vcc | Vcc | | 2 | Button1 | 9 | | 3 | X axis | A0 ---100K--- GND | | 4 | GND | GND | | 5 | | | | 6 | Y axis | A1 ---100K--- GND | | 7 | Button2 | 8 | | 8 | | | | 9 | | | | 10 | Button4 | | | 11 | X2 - unused?? | | | 12 | | | | 13 | Y2 - for hat | A2 ---100K---GND | | 14 | Button3 | | |
Analog gameport joystick -> USB HID mouse. Mostly a test. Based on the pro micro tutorial.