Skip to content

Joystick Library for Arduino-Pico? #542

Answered by grandaspanna
vishesh-varma asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by earlephilhower
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants