HID: lenovo: set INPUT_PROP_POINTING_STICK
authorAndreas Fleig <andreasfleig@gmail.com>
Thu, 23 Apr 2015 08:25:58 +0000 (10:25 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 23 Apr 2015 08:25:58 +0000 (10:25 +0200)
commitd92189ebbdcd0eb180317d8cd6d46c57ac9a3dc0
tree5428bc6c9d24ed9459038d441aa49c3b8f4ec7b2
parent8de29a35dc840a05e451ad035bcb06e21ccf605f
HID: lenovo: set INPUT_PROP_POINTING_STICK

Set flags INPUT_PROP_POINTER and INPUT_PROP_POINTING_STICK for the trackpoint
integrated in Lenovo USB and Bluetooth keyboards. Libinput checks these flags
to enable features such as middle-button-scrolling by default.

Signed-off-by: Andreas Fleig <andreasfleig@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lenovo.c