diff options
author | Bruno Premont <bonbons@linux-vserver.org> | 2009-07-13 14:19:58 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-07-23 01:28:01 +0200 |
commit | 711a680e35059bc5c7c28d3c4bd0bebd3b7bb6ee (patch) | |
tree | d2dd5ee35b8b4201583b9791f18173f8a10224cc /drivers/hid/hid-core.c | |
parent | a24f423bdf253ccee369adc6c5451b40a0716fbb (diff) | |
download | linux-711a680e35059bc5c7c28d3c4bd0bebd3b7bb6ee.tar.bz2 |
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-core.c')
-rw-r--r-- | drivers/hid/hid-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 5601a1432e00..6164ed3a4143 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1317,6 +1317,7 @@ static const struct hid_device_id hid_blacklist[] = { { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb651) }, { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) }, { HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) }, + { HID_USB_DEVICE(USB_VENDOR_ID_TWINHAN, USB_DEVICE_ID_TWINHAN_IR_REMOTE) }, { HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_SMARTJOY_PLUS) }, { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_GRAPHIRE_BLUETOOTH) }, { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) }, |