Fixes #2275 Adds `Joystick.use10bit` and `Joystick.use16bit` methods. 10-bit is unsigned from 0...1023 while 16-bit is signed -32767..32767. Defines a new HID descriptor to support the increased resolution. |
||
|---|---|---|
| .. | ||
| api.md | ||
| readme.md | ||
Joystick library
The Joystick functions enable a RP2040 board to act as a HID game controller.
To use this library:
#include <Joystick.h>
Examples
- [Joystick-AllFunctions] Includes example calls for each Joystick function