You can use this sketch as skeleton for your simple projects.
Keyboh Configuration:
- Buttons from 1 to 19 are not used
- Button 20 used for switching between 2 mouse speeds
- Thumbstick: moves mouse pointer
- Thumbstick click: mouse left button
- Encoder: mouse scroll
- Encoder click: mouse right button