Switch-Fightstick
Requirement
- Microcomputer board such as
- ATMega32U4 Board or see shinyquagsire23/Switch-Fightstick's README
- Arduino UNO R3 (Use DFU mode)
- USB to serial adapter
- USB micro-b cable * 2
Usage
NintendoSwitchをPCから操作する - おいら屋ファクトリー(in Japanese)
On MacOS
brew install avrdude osx-cross/avr/avr-gcc
git clone --recursive https://github.com/nagata-yoshiteru/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*
On Windows
- Install Arduino IDE
- Add
C:\Program Files (x86)\Arduino\hardware\tools\avr\bin
to your environment PATH. - Run following. COMx : ex. COM4 -> x = 4
git clone --recursive https://github.com/nagata-yoshiteru/Switch-Fightstick.git
cd Switch-Fightstick
make
avrdude -pm32u4 -cavr109 -D -P COMx -b57600 -Uflash:w:Joystick.hex # need reset
pip3 install pyserial
./example/rapid-fire-a.py COMx