Skip to content

Latest commit

 

History

History
executable file
·
14 lines (12 loc) · 889 Bytes

README.md

File metadata and controls

executable file
·
14 lines (12 loc) · 889 Bytes

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

  1. Edit file Joystick.c. Under static const command step[], keep "Setup controller" section. Edit under "Start"
  2. make. This will generate Joystick.hex as well as a couple Joystick.* files
  3. Connect Arduino to Mac
  4. Bridge the reset pin with the ground on Arduino
  5. ./upload Joystick.hex
  6. (Optional) Save a copy of Joystick.hex. You could skip the make process and upload the hex file next time.
  7. ./rmmake. This will clear the files from previous make.

Thanks to hoskinsw/SwShEggHatcher and all the way up to progmem/Switch-Fightstick