Tested working with
- MacOS 10.13.6 (17G10021) + dfu-programmer 0.6.2 + avr-gcc 9.2.0 + Arduino UNO R3
- MacOS 10.15.6 (19G2021) + dfu-programmer 0.7.2 + avr-gcc 9.3.0 + Arduino UNO R3
How to use
- Edit file Joystick.c. Under
static const command step[]
, keep "Setup controller" section. Edit under "Start" make
. This will generate Joystick.hex as well as a couple Joystick.* files- Connect Arduino to Mac
- Bridge the reset pin with the ground on Arduino
./upload Joystick.hex
- (Optional) Save a copy of Joystick.hex. You could skip the
make
process and upload the hex file next time. ./rmmake
. This will clear the files from previousmake
.
Thanks to hoskinsw/SwShEggHatcher and all the way up to progmem/Switch-Fightstick