https://github.com/gdsports/nsgadget_hid
Nintendo Switch Gamepad Gadget
https://github.com/gdsports/nsgadget_hid
arduino gamepad-controller itsybitsy nintendo-switch nintendo-switch-gamepad samd-boards trinket-m0 usb-hid
Last synced: 7 months ago
JSON representation
Nintendo Switch Gamepad Gadget
- Host: GitHub
- URL: https://github.com/gdsports/nsgadget_hid
- Owner: gdsports
- License: mit
- Created: 2020-09-25T21:36:13.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-27T00:09:51.000Z (almost 5 years ago)
- Last Synced: 2025-03-23T21:35:43.296Z (8 months ago)
- Topics: arduino, gamepad-controller, itsybitsy, nintendo-switch, nintendo-switch-gamepad, samd-boards, trinket-m0, usb-hid
- Language: C++
- Homepage:
- Size: 210 KB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nintendo Switch Gamepad
Create Nintendo Switch compatible gamepads using Arduino and Adafruit SAMD
boards. This project depends on the NicoHood Arduino HID library.
This project works on Arduino and Adafruit SAMD boards but has not been tested
in AVR boards.
This project is not a library. The code in the src directory must be copied
into the HID-Project library. Be sure to install the latest version of
HID-Project from github. The version installed using Library Manager is too old
for SAMD boards.
Copy the source code files in the src directory to directories with the same
names in HID-Project library installation directory. See NSGamepad/README.md
for details.
The Adafruit SAMD board package version 1.5.14 must be used for Adafruit SAMD
boards. Version 1.6.0 and newer do not work with this project.
If using a Linux system, acli.sh uses (Arduino
CLI)[https://arduino.github.io/arduino-cli/latest/] to build the code. It also
applies patches required to make NSGadget compatible as possible with a real NS
gamepad. acli.sh creates the build directory in /tmp to avoid changing the
default Arduino directories. This is done because patches to SAMD board files
are required.