aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorStefan Achatz <erazor_de@users.sourceforge.net>2012-11-04 03:38:52 -0500
committerJiri Kosina <jkosina@suse.cz>2012-11-05 07:17:38 -0500
commit8e74a2d31b980c2b2dc43641e5bb232c7cc3df4c (patch)
tree1ef9a4f935a36b513f8d46056f1dd7318cf10749 /drivers/hid
parent5277e97c2474a85eb0325ac6fff71910a4e6c134 (diff)
HID: roccat: add support for KoneXTD
KoneXTD is just a Kone[+] with updated sensor, so it's handled by koneplus driver. Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
-rw-r--r--drivers/hid/hid-ids.h1
-rw-r--r--drivers/hid/hid-roccat-koneplus.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h
index 52b27b12a4a7..71806edaad2e 100644
--- a/drivers/hid/hid-ids.h
+++ b/drivers/hid/hid-ids.h
@@ -674,6 +674,7 @@
674#define USB_DEVICE_ID_ROCCAT_ISKU 0x319c 674#define USB_DEVICE_ID_ROCCAT_ISKU 0x319c
675#define USB_DEVICE_ID_ROCCAT_KONE 0x2ced 675#define USB_DEVICE_ID_ROCCAT_KONE 0x2ced
676#define USB_DEVICE_ID_ROCCAT_KONEPLUS 0x2d51 676#define USB_DEVICE_ID_ROCCAT_KONEPLUS 0x2d51
677#define USB_DEVICE_ID_ROCCAT_KONEXTD 0x2e22
677#define USB_DEVICE_ID_ROCCAT_KOVAPLUS 0x2d50 678#define USB_DEVICE_ID_ROCCAT_KOVAPLUS 0x2d50
678#define USB_DEVICE_ID_ROCCAT_LUA 0x2c2e 679#define USB_DEVICE_ID_ROCCAT_LUA 0x2c2e
679#define USB_DEVICE_ID_ROCCAT_PYRA_WIRED 0x2c24 680#define USB_DEVICE_ID_ROCCAT_PYRA_WIRED 0x2c24
diff --git a/drivers/hid/hid-roccat-koneplus.c b/drivers/hid/hid-roccat-koneplus.c
index c47540a5d4f3..0df408362ef1 100644
--- a/drivers/hid/hid-roccat-koneplus.c
+++ b/drivers/hid/hid-roccat-koneplus.c
@@ -14,6 +14,7 @@
14/* 14/*
15 * Roccat Kone[+] is an updated/improved version of the Kone with more memory 15 * Roccat Kone[+] is an updated/improved version of the Kone with more memory
16 * and functionality and without the non-standard behaviours the Kone had. 16 * and functionality and without the non-standard behaviours the Kone had.
17 * KoneXTD has same capabilities but updated sensor.
17 */ 18 */
18 19
19#include <linux/device.h> 20#include <linux/device.h>
@@ -718,6 +719,7 @@ static int koneplus_raw_event(struct hid_device *hdev,
718 719
719static const struct hid_device_id koneplus_devices[] = { 720static const struct hid_device_id koneplus_devices[] = {
720 { HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KONEPLUS) }, 721 { HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KONEPLUS) },
722 { HID_USB_DEVICE(USB_VENDOR_ID_ROCCAT, USB_DEVICE_ID_ROCCAT_KONEXTD) },
721 { } 723 { }
722}; 724};
723 725
@@ -758,5 +760,5 @@ module_init(koneplus_init);
758module_exit(koneplus_exit); 760module_exit(koneplus_exit);
759 761
760MODULE_AUTHOR("Stefan Achatz"); 762MODULE_AUTHOR("Stefan Achatz");
761MODULE_DESCRIPTION("USB Roccat Kone[+] driver"); 763MODULE_DESCRIPTION("USB Roccat Kone[+]/XTD driver");
762MODULE_LICENSE("GPL v2"); 764MODULE_LICENSE("GPL v2");