Joystick Library for Arduino-Pico? #542
-
I can see that there's an already existing Keyboard and Mouse Example given for Earle's implementation, but there's no Joystick support, yet. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The Adafruit TinyUSB library has an example for a gamepad that will work as a joystick. I started from that as a base to build one that works pretty well. You just need to populate the gp.x and gp.y elements (plus any buttons you want). Load up the hid_gamepad into your Pico and start playing. |
Beta Was this translation helpful? Give feedback.
The Adafruit TinyUSB library has an example for a gamepad that will work as a joystick. I started from that as a base to build one that works pretty well. You just need to populate the gp.x and gp.y elements (plus any buttons you want). Load up the hid_gamepad into your Pico and start playing.