summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-roccat-isku.h
diff options
context:
space:
mode:
authorStefan Achatz <stefan_achatz@web.de>2012-11-11 09:21:06 +0400
committerJiri Kosina <jkosina@suse.cz>2012-11-12 18:30:27 +0400
commitf1da71e1f658c3f1e5d08291258ac87c35e049a4 (patch)
tree8c6ef6fd54f1e5ce5e7a17ab14d9dc9bf0f634ec /drivers/hid/hid-roccat-isku.h
parent6e5920ddbbc114d9f7864b14a8db42e714a8b99f (diff)
downloadlinux-f1da71e1f658c3f1e5d08291258ac87c35e049a4.tar.xz
HID: roccat: add sysfs attr "reset" for Isku
Isku needs an extra sysfs attr to support device reset. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-roccat-isku.h b/drivers/hid/hid-roccat-isku.h
index 0062ab50861e..cf6896c83867 100644
--- a/drivers/hid/hid-roccat-isku.h
+++ b/drivers/hid/hid-roccat-isku.h
@@ -27,6 +27,7 @@ enum {
ISKU_SIZE_LAST_SET = 0x14,
ISKU_SIZE_LIGHT = 0x0a,
ISKU_SIZE_MACRO = 0x823,
+ ISKU_SIZE_RESET = 0x03,
ISKU_SIZE_TALK = 0x10,
};
@@ -53,6 +54,7 @@ enum isku_commands {
ISKU_COMMAND_MACRO = 0xe,
ISKU_COMMAND_INFO = 0xf,
ISKU_COMMAND_LIGHT = 0x10,
+ ISKU_COMMAND_RESET = 0x11,
ISKU_COMMAND_KEYS_CAPSLOCK = 0x13,
ISKU_COMMAND_LAST_SET = 0x14,
ISKU_COMMAND_15 = 0x15,