diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2013-03-10 12:33:02 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2013-03-14 11:50:49 +0100 |
commit | ce7169652532a95bebbf2f02cd330a4e66f171ae (patch) | |
tree | 65203ca2717df64f45fd92b7b964df20a9e7f830 /drivers/hid/hid-roccat-isku.h | |
parent | 8936aa31cd5fd0bea828416a3c07efd303269a45 (diff) | |
download | op-kernel-dev-ce7169652532a95bebbf2f02cd330a4e66f171ae.zip op-kernel-dev-ce7169652532a95bebbf2f02cd330a4e66f171ae.tar.gz |
HID: roccat: add support for IskuFX
Extending isku module with one additional and one changed sysfs attr. IskuFX has
larger light sysfs attr. Made the code size tolerant so both devices can be
handled.
Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-roccat-isku.h')
-rw-r--r-- | drivers/hid/hid-roccat-isku.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/hid/hid-roccat-isku.h b/drivers/hid/hid-roccat-isku.h index cf6896c..5305686 100644 --- a/drivers/hid/hid-roccat-isku.h +++ b/drivers/hid/hid-roccat-isku.h @@ -25,10 +25,11 @@ enum { ISKU_SIZE_KEYS_MACRO = 0x23, ISKU_SIZE_KEYS_CAPSLOCK = 0x06, ISKU_SIZE_LAST_SET = 0x14, - ISKU_SIZE_LIGHT = 0x0a, + ISKU_SIZE_LIGHT = 0x10, ISKU_SIZE_MACRO = 0x823, ISKU_SIZE_RESET = 0x03, ISKU_SIZE_TALK = 0x10, + ISKU_SIZE_TALKFX = 0x10, }; enum { @@ -59,6 +60,7 @@ enum isku_commands { ISKU_COMMAND_LAST_SET = 0x14, ISKU_COMMAND_15 = 0x15, ISKU_COMMAND_TALK = 0x16, + ISKU_COMMAND_TALKFX = 0x17, ISKU_COMMAND_FIRMWARE_WRITE = 0x1b, ISKU_COMMAND_FIRMWARE_WRITE_CONTROL = 0x1c, }; |