OSDN Git Service

HID: asus: Add T100CHI bluetooth keyboard dock touchpad support
authorHans de Goede <hdegoede@redhat.com>
Fri, 4 Aug 2017 13:31:04 +0000 (15:31 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 8 Aug 2017 08:05:23 +0000 (10:05 +0200)
commit73c75d395857960ea135913da7bb9537248a11e6
treecff92ac23cc0db8f2d676ab41a7c83b5f14af87b
parent5703e52cc711bc01e72cf12b86a126909c79d213
HID: asus: Add T100CHI bluetooth keyboard dock touchpad support

Put the touchpad in native (absolute coordinate mode) and export it to
userspace as a touchpad rather then as a mouse.

Note this requires HID_QUIRK_MULTI_INPUT as the T100CHI keyboard dock
has all functionality on a single HID interface and userspace expects
touchpads to be on a separate input_dev. Without MULTI_INPUT userspace
will ignore the keyboard part of the keyboard/touchpad combo.

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