Adafruit_CircuitPython_HID icon indicating copy to clipboard operation
Adafruit_CircuitPython_HID copied to clipboard

Add support for "Pan" or "Horizontal" wheel movement as well as Back/Forward Buttons

Open jpconstantineau opened this issue 3 years ago • 0 comments

Looks like the library doesn't support the full mouse HID report that computers can understand.

The TinyUSB library makes available a few more buttons: MOUSE_BUTTON_BACKWARD MOUSE_BUTTON_FORWARD

https://github.com/adafruit/Adafruit_TinyUSB_ArduinoCore/blob/81e146ecf41823046a3c37b7ecaa32276931bb3c/tinyusb/src/class/hid/hid.h#L259

And makes as horizontal (pan) movements available too:

https://github.com/adafruit/Adafruit_TinyUSB_Arduino/blob/master/src/class/hid/hid_device.c#L146

It's not clear if the Circuitpython library supports these buttons and movements but at first glance it doesn't appears to.

jpconstantineau avatar Feb 05 '22 22:02 jpconstantineau