Logitech G604 metal wheel unintended scroll caused by high resolution setting enforced by kernel drivers
Similar to #666 (closed) (related to?) scroll twitching. This appears to be caused by the weighted mouse wheel on the Logitech G604, when the device is lifted off a surface, and brought down with some minor force, it causes intermittent REL_WHEEL_HI_RES events.
I've recorded events in excess of 19ms sudo libinput record /dev/input/event23 g604.yml
where my hand was completely off the scroll wheel and a scroll was registered. The force required to do this is just a minor 'drop' of the mouse onto the mousepad (happens a lot during spirited gameplay).
It doesn't occur in Windows 10 or 11 so the Windows driver has some sort of filtering for this. It can be mitigated by either disabling the hires wheel, via solaar, or by setting a finger lightly on the mousewheel to keep it from bouncing. I did try ModelBouncingKeys=1 quirk but it didn't help.
Keep in mind, I don't actually see the wheel 'move' when the events occur and the ratchet lock is enabled, but it must be physically moving enough to cause events.
I'd like to play with the milliseconds required for an event to be registered, to see if there is a working threshold. In the record, I made, only one errant scroll happened, although many very short REL_WHEEL_HI_RES events of low 'ms' were registered. Libinput is definitely filtering out the really short, bogus, inputs.
While disabling hires scroll wheel mitigates the issue, it requires many ratchets of the wheel, greater than 5, to generate a single scroll event. This makes the wheel useless.