HID: logitech-hidpp: Add HIDPP_QUIRK_RESET_HI_RES_SCROLL
authorStuart Hayhurst <stuart.a.hayhurst@gmail.com>
Mon, 6 Oct 2025 01:05:49 +0000 (02:05 +0100)
committerJiri Kosina <jkosina@suse.com>
Thu, 16 Oct 2025 16:19:22 +0000 (18:19 +0200)
commited80cc4667ac997b84546e6d35f0a0ae525d239c
tree2bad6051c545595bff18f099a802a7d3669b3c98
parentd9b3014a7f1425011909ad358dc0c8f187853a12
HID: logitech-hidpp: Add HIDPP_QUIRK_RESET_HI_RES_SCROLL

The Logitech G502 Hero Wireless's high resolution scrolling resets after
being unplugged without notifying the driver, causing extremely slow
scrolling.

The only indication of this is a battery update packet, so add a quirk to
detect when the device is unplugged and re-enable the scrolling.

Link: https://bugzilla.kernel.org/show_bug.cgi?id=218037
Signed-off-by: Stuart Hayhurst <stuart.a.hayhurst@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-logitech-hidpp.c