Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 669 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 669 Bytes

nscon

Nintendo Switch Controller simulator with usb gadget

Features

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

Usage

Create Nintendo Switch Pro Controller USB Gadget first.

e.g. https://gist.github.com/mzyy94/60ae253a45e2759451789a117c59acf9#file-add_procon_gadget-sh

Simulate tty input as button input

sudo go run demo/main.go

License

GPL 3.0 see LICENSE