summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-ids.h
diff options
context:
space:
mode:
authorBruno Premont <bonbons@linux-vserver.org>2009-07-13 14:19:58 +0200
committerJiri Kosina <jkosina@suse.cz>2009-07-23 01:28:01 +0200
commit711a680e35059bc5c7c28d3c4bd0bebd3b7bb6ee (patch)
treed2dd5ee35b8b4201583b9791f18173f8a10224cc /drivers/hid/hid-ids.h
parenta24f423bdf253ccee369adc6c5451b40a0716fbb (diff)
downloadlinux-711a680e35059bc5c7c28d3c4bd0bebd3b7bb6ee.tar.gz
linux-711a680e35059bc5c7c28d3c4bd0bebd3b7bb6ee.tar.bz2
linux-711a680e35059bc5c7c28d3c4bd0bebd3b7bb6ee.zip
HID: driver for Twinhan USB 6253:0100 remote control
Add explicit key mappings for TwinHan USB HID remote control. All dummy Ctrl, Alt, Meta, ... key press/release events generated by the remote are silenced by "unmapping" them. This makes Power and Volume keys single-key and strips the regular (even while idle) key release events for Ctrl, Alt, Meta, ... Signed-off-by: Bruno Premont <bonbons@linux-vserver.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-ids.h')
-rw-r--r--drivers/hid/hid-ids.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 398f731fd699..3058e472aeb5 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -404,6 +404,9 @@
#define USB_VENDOR_ID_TURBOX 0x062a
#define USB_DEVICE_ID_TURBOX_KEYBOARD 0x0201
+#define USB_VENDOR_ID_TWINHAN 0x6253
+#define USB_DEVICE_ID_TWINHAN_IR_REMOTE 0x0100
+
#define USB_VENDOR_ID_UCLOGIC 0x5543
#define USB_DEVICE_ID_UCLOGIC_TABLET_PF1209 0x0042