Created by: mchehab
Add support for controlling and events for the MX Anyware 2 High-res Wheel
The high-res wheel allows setting 3 properties:
- if the wheel will scroll inverted;
- if the wheel will use high-resolution (e. g. will scroll faster);
- if the wheel will send HID++ or HID notifications.
Currently, the Logitech HID Kernel driver doesn't handle HID++ wheel notifications. So, when this mode is set, the scroll won't work on apps. It is possible to see the HID++ messages, though, by enabling solaar debug logs.
With this mouse, mouse movement and wheel HID events come from feature 3 (with is supposed to be DEVICE_FW_VERSION); ratchet HID events come from feature 0x2121.
When the mouse is in HID++, wheel events come, instead, from feature 0x2121. Please notice that, despite the documentation, the high-res bit is bit 4, instead of 3.
When called via CLI, solaar show will display the settings for the mouse just after the high-res feature:
11: HIRES WHEEL {2121} Multiplier: 8 Has invert Normal wheel motion Has ratchet switch Free wheel mode Low resolution mode HID notification
Tested on my MX Anywhere 2 device on both CLI and GUI.