summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-roccat-savu.h
diff options
context:
space:
mode:
authorStefan Achatz <erazor_de@users.sourceforge.net>2012-07-04 18:45:03 +0200
committerJiri Kosina <jkosina@suse.cz>2012-07-20 09:50:42 +0200
commit11a5c818ae2b7f8ffa7734fa096ca7e9d37b1216 (patch)
tree95eeebd6bae07a948da79e05e5a2f1d915f72f77 /drivers/hid/hid-roccat-savu.h
parent7392d73be2b3c907d65126f072c313215e1907b3 (diff)
downloadlinux-3.10-11a5c818ae2b7f8ffa7734fa096ca7e9d37b1216.tar.gz
linux-3.10-11a5c818ae2b7f8ffa7734fa096ca7e9d37b1216.tar.bz2
linux-3.10-11a5c818ae2b7f8ffa7734fa096ca7e9d37b1216.zip
HID: roccat: added sensor sysfs attribute for Savu
The sensor attr can be used to tweak the optical sensor of the Savu. 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-savu.h')
-rw-r--r--drivers/hid/hid-roccat-savu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/hid/hid-roccat-savu.h b/drivers/hid/hid-roccat-savu.h
index b15a1bbb66f..9120ba72087 100644
--- a/drivers/hid/hid-roccat-savu.h
+++ b/drivers/hid/hid-roccat-savu.h
@@ -21,6 +21,7 @@ enum {
SAVU_SIZE_BUTTONS = 0x2f,
SAVU_SIZE_MACRO = 0x0823,
SAVU_SIZE_INFO = 0x08,
+ SAVU_SIZE_SENSOR = 0x04,
};
enum savu_control_requests {
@@ -35,6 +36,7 @@ enum savu_commands {
SAVU_COMMAND_BUTTONS = 0x7,
SAVU_COMMAND_MACRO = 0x8,
SAVU_COMMAND_INFO = 0x9,
+ SAVU_COMMAND_SENSOR = 0xc,
};
struct savu_mouse_report_special {