summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-roccat-savu.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-roccat-savu.h')
-rw-r--r--drivers/hid/hid-roccat-savu.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/hid/hid-roccat-savu.h b/drivers/hid/hid-roccat-savu.h
index 97b43d5b0477..b15a1bbb66fb 100644
--- a/drivers/hid/hid-roccat-savu.h
+++ b/drivers/hid/hid-roccat-savu.h
@@ -23,29 +23,11 @@ enum {
SAVU_SIZE_INFO = 0x08,
};
-struct savu_control {
- uint8_t command; /* SAVU_COMMAND_CONTROL */
- /*
- * value is profile number in range 0-4 for requesting settings and buttons
- * 1 if status ok for requesting status
- */
- uint8_t value;
- uint8_t request;
-} __packed;
-
enum savu_control_requests {
- SAVU_CONTROL_REQUEST_WRITE_CHECK = 0x00,
SAVU_CONTROL_REQUEST_GENERAL = 0x80,
SAVU_CONTROL_REQUEST_BUTTONS = 0x90,
};
-enum savu_control_values {
- SAVU_CONTROL_REQUEST_WRITE_CHECK_OVERLOAD = 0,
- SAVU_CONTROL_REQUEST_WRITE_CHECK_OK = 1,
- SAVU_CONTROL_REQUEST_WRITE_CHECK_INVALID = 2,
- SAVU_CONTROL_REQUEST_WRITE_CHECK_WAIT = 3,
-};
-
enum savu_commands {
SAVU_COMMAND_CONTROL = 0x4,
SAVU_COMMAND_PROFILE = 0x5,