Move the Joystick, Keyboard, and Mouse into a base class which handles the operation/input, and a subclass which will implement the reporting as a HID device via USB, Bluetooth Classic, or Bluetooth Low Energy (BLE). Reduce copies of library code and makes maintainability much better.
242 B
242 B
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