HID: Zydacron Remote Control driver
authorDon Prince <dhprince.devel@yahoo.co.uk>
Fri, 14 May 2010 16:30:59 +0000 (17:30 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 17 May 2010 08:37:04 +0000 (10:37 +0200)
A specialised HID driver for the Zydacron Remote Control (usb id: 13ec:0006).

The specialised HID driver adds support for the buttons which are not

currently handled by the default HID driver.

Signed-off-by: Don Prince <dhprince-devel@yahoo.co.uk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-ids.h

index 631ede69c0120bb4f32c2b0c591466c872c03f1b..3cf69a0a8b77ed7aa3770a7940d375a06d8acc7b 100644 (file)
@@ -380,6 +380,13 @@ config ZEROPLUS_FF
          Say Y here if you have a Zeroplus based game controller and want
          to have force feedback support for it.
 
+config HID_ZYDACRON
+       tristate "Zydacron remote control support" if EMBEDDED
+       depends on USB_HID
+       default !EMBEDDED
+       ---help---
+       Support for Zydacron remote control.
+
 endmenu
 
 endif # HID_SUPPORT
index 0b2618f092ca525b272bf10242ff4843b68cfce2..d1f1b448977de67f10efa154f301dde8dd4729b4 100644 (file)
@@ -54,6 +54,7 @@ obj-$(CONFIG_HID_THRUSTMASTER)        += hid-tmff.o
 obj-$(CONFIG_HID_TOPSEED)      += hid-topseed.o
 obj-$(CONFIG_HID_TWINHAN)      += hid-twinhan.o
 obj-$(CONFIG_HID_ZEROPLUS)     += hid-zpff.o
+obj-$(CONFIG_HID_ZYDACRON)     += hid-zydacron.o
 obj-$(CONFIG_HID_WACOM)                += hid-wacom.o
 
 obj-$(CONFIG_USB_HID)          += usbhid/
index c9eb2d08f39622afea8ae04826e874efb4f45fdb..7c77c64d3e99b9a8b81d6ee9acfeb4bdd4835081 100644 (file)
@@ -1364,6 +1364,7 @@ static const struct hid_device_id hid_blacklist[] = {
        { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH) },
        { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
        { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
+       { HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) },
 
        { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) },
        { }
index 513e75e0f65df17a8aeb385c00109527c44625f1..30cba94cfb0c92b07682011c392e6a96e7c5be6b 100644 (file)
 
 #define USB_VENDOR_ID_ZEROPLUS         0x0c12
 
+#define USB_VENDOR_ID_ZYDACRON 0x13EC
+#define USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL  0x0006
+
 #define USB_VENDOR_ID_KYE              0x0458
 #define USB_DEVICE_ID_KYE_ERGO_525V    0x0087
 #define USB_DEVICE_ID_KYE_GPEN_560     0x5003