adafruit / Adafruit_TinyUSB_Arduino

Arduino library for TinyUSB
MIT License
465 stars 120 forks source link

Absolute mouse support needed #289

Open silpakcx opened 1 year ago

silpakcx commented 1 year ago

Please add absolute mouse support to this library. Only a few libraries support RP2040 controller. I am using this library for developing an HID keyboard and mouse project. But the library supports only relative mouse mode.

Got stuck due to the lack of absolute mouse support. kindly add this feature.

tobozo commented 1 year ago

abs mouse support is ready to be merged on tinyusb repo:

https://github.com/hathach/tinyusb/pull/1363

good news is it's already available as a sdk-override in arduino-pico sdk:

https://github.com/earlephilhower/arduino-pico/blob/master/cores/rp2040/sdkoverride/tusb_absmouse.h

.. and implemented in both MouseBT and MouseBLE libraries