/joy

Library and tools for working with Nintendo Switch JoyCon/Pro Controller

Primary LanguageRust

joy

Suite of tools and libraries for interactions with the Nintendo Switch controllers.

Tools

The tools can be run with cargo run --bin <tool>.

  • joytk: main front-facing tool.
  • gyromouse: cross-platform mapper from controller inputs to keyboard/mouse, including gyro aiming.
  • joy-infrared: visualize the images captured by the infrared camera of the Joycon(R) as a realtime 3D view.

Libraries

  • joycon-sys: decoding and encoding HID reports. Doesn't include any I/O.
  • joycon: implements I/O and communication protocols on top of joycon-sys.
  • dualshock: decoding HID reports from the DS4 controller.
  • hid-gamepad: abstraction above dualshock and joycon.