Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
hid-roccat-savu.h
Go to the documentation of this file.
1 #ifndef __HID_ROCCAT_SAVU_H
2 #define __HID_ROCCAT_SAVU_H
3 
4 /*
5  * Copyright (c) 2012 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 enum {
22  SAVU_SIZE_MACRO = 0x0823,
25 };
26 
30 };
31 
40 };
41 
43  uint8_t report_number; /* always 3 */
47 } __packed;
48 
49 enum {
51 };
52 
54  /* data1 = new profile range 1-5 */
56 
57  /* data1 = button number range 1-24; data2 = action */
59 
60  /* data1 = button number range 1-24; data2 = action */
62 
63  /* data1 = setting number range 1-5 */
65 
66  /* data1 and data2 = range 0x1-0xb */
68 
69  /* data1 = 22 = next track...
70  * data2 = action
71  */
73 };
74 
78 } __packed;
79 
80 struct savu_device {
83 
84  struct mutex savu_lock;
85 };
86 
87 #endif