Giter Site home page Giter Site logo

ebith / switch-fightstick Goto Github PK

View Code? Open in Web Editor NEW

This project forked from progmem/switch-fightstick

109.0 7.0 17.0 64 KB

Automate operation for Nintendo Switch

License: MIT License

C 80.99% C++ 5.74% Makefile 3.54% Python 9.72%
avr automation nintendo-switch arduino

switch-fightstick's Introduction

Switch-Fightstick

Thumbnail

Requirement

Usage

NintendoSwitchをPCから操作する - おいら屋ファクトリー(in Japanese)

On MacOS

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.

switch-fightstick's People

Contributors

ebith avatar progmem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

switch-fightstick's Issues

Use on windows

Hello is it possible to use this on Windows and would it be possible to explain how to do it? Thank you so much.

Do you have a photo or image of the wiring to do?

Troubles compiling on Ubuntu

I've tried everything. I need help compiling.
Am I supposed to have crtatmega32u4.o ??? Because if so there is no download for it.

user@system-24506d:~/Switch-Fightstick$ make
[INFO] : Begin compilation of project "Joystick"...

avr-gcc (GCC) 4.9.2
Copyright (C) 2014 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[LNK] : Linking object files into "Joystick.elf"
avr-gcc obj/Joystick.o obj/Descriptors.o obj/HIDParser.o obj/Device_AVR8.o obj/EndpointStream_AVR8.o obj/Endpoint_AVR8.o obj/Host_AVR8.o obj/PipeStream_AVR8.o obj/Pipe_AVR8.o obj/USBController_AVR8.o obj/USBInterrupt_AVR8.o obj/ConfigDescriptors.o obj/DeviceStandardReq.o obj/Events.o obj/HostStandardReq.o obj/USBTask.o obj/Serial_AVR8.o -o Joystick.elf -lm -Wl,-Map=Joystick.map,--cref -Wl,--gc-sections -Wl,--relax -mmcu=atmega32u4
/usr/lib/gcc/avr/4.9.2/../../../avr/bin/ld: cannot find crtatmega32u4.o: No such file or directory
/usr/lib/gcc/avr/4.9.2/../../../avr/bin/ld: cannot find -lm
/usr/lib/gcc/avr/4.9.2/../../../avr/bin/ld: cannot find -lm
/usr/lib/gcc/avr/4.9.2/../../../avr/bin/ld: cannot find -lc
/usr/lib/gcc/avr/4.9.2/../../../avr/bin/ld: cannot find -latmega32u4
collect2: error: ld returned 1 exit status
lufa/LUFA/Build/DMBS/DMBS/gcc.mk:238: recipe for target 'Joystick.elf' failed
make: *** [Joystick.elf] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.