Skip to content

Repository files navigation

SwitchKit for Godot

This GDExtension wraps the SwitchKit library, allowing Godot games to use the Joy-Con (L), Joy-Con (R), and Pro Controller for the Nintendo Switch.

Warning

Nintendo Switch 2 controllers are currently not supported.

Features

SwitchKit for Godot supports the following SwitchKit features:

  • Basic button and stick inputs
  • Acceleration and controller orientation via gyroscope
  • Battery level
  • Controller type
  • Player LEDs
  • HD Rumble
  • Controller colors
  • Ring-Con
    • Flex value
    • Press detected as button

Installation/building

Place the object file libjoycon.o compiled from SwitchKit in the lib folder, then run scons.

See the demo project in demo for an example of usage.

I hope to have more comprehensive install instructions soon!

License

MIT

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages