summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-multitouch.c
diff options
context:
space:
mode:
authorAndreas Nielsen <eas@svep.se>2012-03-19 15:41:03 +0100
committerJiri Kosina <jkosina@suse.cz>2012-03-20 13:17:22 +0100
commit4d5df5d11e8027c11c1079205757527cbaade62d (patch)
treee041e044fdc76626f0ed02dfb77f4b418a9d005b /drivers/hid/hid-multitouch.c
parent740363fb75f421f9a00a183f673b477c3029b572 (diff)
downloadlinux-4d5df5d11e8027c11c1079205757527cbaade62d.tar.gz
linux-4d5df5d11e8027c11c1079205757527cbaade62d.tar.bz2
linux-4d5df5d11e8027c11c1079205757527cbaade62d.zip
HID: multitouch: add PID for Fructel product
Adds multitouch support for the Gametel Android game controller. The multitouch events are emulated by the Gametel device. Each physical button is configured to generate a MT event on a specific coordinate. This seems to be the only way for us to support Android games that doesn't support HID gamepads. It is possible to inject MT events at Android level, but this requires root on the phone. Signed-off-by: Andreas Nielsen <eas@svep.se> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
-rw-r--r--drivers/hid/hid-multitouch.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 24fc4423b937..ddba4c50815b 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -742,6 +742,11 @@ static const struct hid_device_id mt_devices[] = {
HID_USB_DEVICE(USB_VENDOR_ID_GENERAL_TOUCH,
USB_DEVICE_ID_GENERAL_TOUCH_WIN7_TWOFINGERS) },
+ /* Gametel game controller */
+ { .driver_data = MT_CLS_DEFAULT,
+ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_FRUCTEL,
+ USB_DEVICE_ID_GAMETEL_MT_MODE) },
+
/* GoodTouch panels */
{ .driver_data = MT_CLS_DEFAULT,
HID_USB_DEVICE(USB_VENDOR_ID_GOODTOUCH,