Commit a9885c8f7bf62e251fc178f838b9f0ee897c158a
Committed by
Jiri Kosina
1 parent
1721a238ba
Exists in
master
and in
7 other branches
HID: Zydacron Remote Control driver
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>
Showing 4 changed files with 12 additions and 0 deletions Side-by-side Diff
drivers/hid/Kconfig
... | ... | @@ -380,6 +380,13 @@ |
380 | 380 | Say Y here if you have a Zeroplus based game controller and want |
381 | 381 | to have force feedback support for it. |
382 | 382 | |
383 | +config HID_ZYDACRON | |
384 | + tristate "Zydacron remote control support" if EMBEDDED | |
385 | + depends on USB_HID | |
386 | + default !EMBEDDED | |
387 | + ---help--- | |
388 | + Support for Zydacron remote control. | |
389 | + | |
383 | 390 | endmenu |
384 | 391 | |
385 | 392 | endif # HID_SUPPORT |
drivers/hid/Makefile
... | ... | @@ -54,6 +54,7 @@ |
54 | 54 | obj-$(CONFIG_HID_TOPSEED) += hid-topseed.o |
55 | 55 | obj-$(CONFIG_HID_TWINHAN) += hid-twinhan.o |
56 | 56 | obj-$(CONFIG_HID_ZEROPLUS) += hid-zpff.o |
57 | +obj-$(CONFIG_HID_ZYDACRON) += hid-zydacron.o | |
57 | 58 | obj-$(CONFIG_HID_WACOM) += hid-wacom.o |
58 | 59 | |
59 | 60 | obj-$(CONFIG_USB_HID) += usbhid/ |
drivers/hid/hid-core.c
... | ... | @@ -1364,6 +1364,7 @@ |
1364 | 1364 | { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_WACOM, USB_DEVICE_ID_WACOM_INTUOS4_BLUETOOTH) }, |
1365 | 1365 | { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) }, |
1366 | 1366 | { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) }, |
1367 | + { HID_USB_DEVICE(USB_VENDOR_ID_ZYDACRON, USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL) }, | |
1367 | 1368 | |
1368 | 1369 | { HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) }, |
1369 | 1370 | { } |
drivers/hid/hid-ids.h
... | ... | @@ -481,6 +481,9 @@ |
481 | 481 | |
482 | 482 | #define USB_VENDOR_ID_ZEROPLUS 0x0c12 |
483 | 483 | |
484 | +#define USB_VENDOR_ID_ZYDACRON 0x13EC | |
485 | +#define USB_DEVICE_ID_ZYDACRON_REMOTE_CONTROL 0x0006 | |
486 | + | |
484 | 487 | #define USB_VENDOR_ID_KYE 0x0458 |
485 | 488 | #define USB_DEVICE_ID_KYE_ERGO_525V 0x0087 |
486 | 489 | #define USB_DEVICE_ID_KYE_GPEN_560 0x5003 |