]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
HID: logitech-hidpp: Add support for the S510 remote control
authorHans de Goede <hdegoede@redhat.com>
Sun, 12 May 2019 10:36:02 +0000 (12:36 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 22 May 2019 11:20:15 +0000 (13:20 +0200)
commit2409877d386de709606ca7eecf7c10d2838525a1
treefc8899e33c2ff1147e869ee1fefbfb20c9c63648
parent81bcbad53bab4bf9f200eda303d7a05cdb9bd73b
HID: logitech-hidpp: Add support for the S510 remote control

The S510 remote-control shows up as a second keyboard (keypad) on the
receiver. It has a scroll-wheel, which normally sends wheel event
originating from the mouse's evdev node.

Add a HIDPP_QUIRK_KBD_SCROLL_WHEEL quirk for it, so that the wheel events
properly originate from the evdev node of the remote control itself.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-logitech-hidpp.c