Nintendo Switch Controller simulator with usb gadget
Checked ones are currently supported.
- ABXY Buttons Input
- L/R/ZL/ZR Triggers Input
- D-Pad Input
- Meta Buttons Input
- Left/Right Stick Input
- Reconnection
- 6-Axis Accelerometer/Gyroscope
- Rumble Feedback
- LED Indicator
- Disconnection
- Remote Wakeup
Create Nintendo Switch Pro Controller USB Gadget first.
e.g. https://gist.github.com/mzyy94/60ae253a45e2759451789a117c59acf9#file-add_procon_gadget-sh
sudo go run demo/main.go
GPL 3.0 see LICENSE