Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hid-roccat-arvo.h
Go to the documentation of this file.
1 #ifndef __HID_ROCCAT_ARVO_H
2 #define __HID_ROCCAT_ARVO_H
3 
4 /*
5  * Copyright (c) 2011 Stefan Achatz <[email protected]>
6  */
7 
8 /*
9  * This program is free software; you can redistribute it and/or modify it
10  * under the terms of the GNU General Public License as published by the Free
11  * Software Foundation; either version 2 of the License, or (at your option)
12  * any later version.
13  */
14 
15 #include <linux/types.h>
16 
17 struct arvo_mode_key { /* 2 bytes */
18  uint8_t command; /* ARVO_COMMAND_MODE_KEY */
20 } __packed;
21 
22 struct arvo_button {
24 } __packed;
25 
26 struct arvo_info {
28 } __packed;
29 
30 struct arvo_key_mask { /* 2 bytes */
31  uint8_t command; /* ARVO_COMMAND_KEY_MASK */
33 } __packed;
34 
35 /* selected profile is persistent */
36 struct arvo_actual_profile { /* 2 bytes */
37  uint8_t command; /* ARVO_COMMAND_ACTUAL_PROFILE */
39 } __packed;
40 
47 };
48 
50  uint8_t unknown1; /* always 0x01 */
52  uint8_t unknown2; /* always 0x70 */
53 } __packed;
54 
58 };
59 
63 };
64 
69 } __packed;
70 
74 };
75 
76 struct arvo_device {
79 
80  struct mutex arvo_lock;
81 
83 };
84 
85 #endif