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)
commitffe51d0d8abce3139a970c640ed48e73e9c360bb
tree9a5d3288bf94f08765d9b1532ea104d5a93b4e1a
parent67a97845830f79584c9db8849ac723e5d2d57f65
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]