-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Some wired mice (such as the official Raspberry Pi mouse) work with the host_hid USB example code in pico-examples - in fact, it seems that at the moment, only wired mice are recognized (although this is not the issue I wish to report here).
At least some wired mice which have side buttons (i.e. back/forward) have displaced data:
- button presses appear in the (hid_mouse_report_t).x element rather than (hid_mouse_report_t).button;
- x movement appears in (hid_mouse_report_t).y rather than (hid_mouse_report_t).x .
- (hid_mouse_report_t).button remains 1 (i.e. left button pressed)
(note: the mouse works fine on a RPi 400)
I am reporting this here as pico-sdk holds a non-current version of tinyusb, and it doesn't seem to be straightforward to test with the current tinyusb on pico hardware at the moment.
This may be solved with the newer version of tinyusb in pico-sdk 1.2.0 ... this issue can serve as a placeholder until that is available for test; if pico-sdk and tinyusb are in sync at that time (and if the issue is not yet resolved), I will be happy to report the issue upstream. I am also happy to gather any diagnostic information required (if the process is explained).
For the moment, the existence of a report may be helpful to other users, to indicate current known system limitations.