]> git.baikalelectronics.ru Git - kernel.git/commit
HID: add support for PenMount HID TouchScreen Driver
authorChristian Gmeiner <christian.gmeiner@gmail.com>
Wed, 3 Sep 2014 08:33:53 +0000 (10:33 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 4 Sep 2014 09:23:51 +0000 (11:23 +0200)
commit5044d28bd2a2c2a63660ea15cb328c1b4015ced4
tree9a5d3288bf94f08765d9b1532ea104d5a93b4e1a
parentcdd99c296386b9f526406eeeb8dd133137b347e4
HID: add support for PenMount HID TouchScreen Driver

This patch adds a seperate hid-penmount driver to work
around an issue with the HID report descriptor. The
descriptor does not contain the ContactID usage and as
result the touchscreen is represented as normal mouse
to the system.

This driver maps the button 0 emitted by the touchscreen
to BTN_TOUCH. This makes it possible to use touch events
in userspace.

Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-penmount.c [new file with mode: 0644]