https://github.com/esp32beans/thumbstick
USB small joystick (thumbstick) compatible with Xbox Adaptive Controller (XAC)
https://github.com/esp32beans/thumbstick
arduino usb-joystick xac xbox xbox-adaptive-controller
Last synced: 4 months ago
JSON representation
USB small joystick (thumbstick) compatible with Xbox Adaptive Controller (XAC)
- Host: GitHub
- URL: https://github.com/esp32beans/thumbstick
- Owner: esp32beans
- License: mit
- Created: 2023-03-01T02:38:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-19T22:22:19.000Z (over 2 years ago)
- Last Synced: 2025-01-11T16:35:41.745Z (5 months ago)
- Topics: arduino, usb-joystick, xac, xbox, xbox-adaptive-controller
- Language: C++
- Homepage:
- Size: 245 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# USB Analog Small Joystick
USB small joystick (also known as a thumbstick) compatible with the Xbox
Adaptive Controller. No soldering.
## Hardware
The joystick connects to the Pro Micro 2040 board using a Qwiic cable.
* SparkFun Pro Micro - RP2040
* SparkFun Qwiic Joystick
* SparkFun Qwiic Cable - 50mmThe following Adafruit board might be a substitute for the SparkFun Pro Micro
RP2040. Stemma QT and Qwiic are mostly compatible. See
https://learn.adafruit.com/introducing-adafruit-stemma-qt/sparkfun-qwiic* Adafruit Trinkey QT2040 - RP2040 USB Key with Stemma QT
## Software
## Raspberry Pi Pico (RP2040) Arduino Board Package
https://github.com/earlephilhower/arduino-pico
## Libraries
Install both libraries using the IDE Library Manager.
* Adafruit TinyUSB Library
* SparkFun Qwiic Joystick Arduino Library## Troubleshooting
Be sure to change the Tool | USB Stack from "Pico SDK" to "Adafruit TinyUSB". If this is not done,
the compile will fail with the following message.```
#error TinyUSB is not selected, please select it in "Tools->Menu->USB Stack"
```