- ATMega32U4 Board or see shinyquagsire23/Switch-Fightstick's README
- USB to serial adapter
- USB micro-b cable * 2
NintendoSwitchをPCから操作する - おいら屋ファクトリー(in Japanese)
brew install avrdude osx-cross/avr/avr-gcc
git clone --recursive https://github.com/ebith/Switch-Fightstick.git
cd Switch-Fightstick
make
avrdude -pm32u4 -cavr109 -D -P$(ls /dev/tty.usbmodem*) -b57600 -Uflash:w:Joystick.hex # need reset
pip3 install pyserial
./example/rapid-fire-a.py /dev/tty.usbserial*
You can also download Joystick.hex here.