diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2012-10-16 11:40:09 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-10-17 04:44:47 -0400 |
commit | 4424f616e48e0a48ac31de8d223ba1bdb46a84f1 (patch) | |
tree | 3c3f9b7cc731d6834ac6d897c1335b16e5d787d6 /drivers/hid/hid-roccat-lua.h | |
parent | def7cb8cd4e3258db88050eaaca5438bcc3dafca (diff) |
HID: roccat: add support for Roccat Lua
This patch adds support for Roccat Lua gaming mouse.
Userland tools can soon be found at http://sourceforge.net/projects/roccat
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-lua.h')
-rw-r--r-- | drivers/hid/hid-roccat-lua.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/drivers/hid/hid-roccat-lua.h b/drivers/hid/hid-roccat-lua.h new file mode 100644 index 00000000000..547d77a375d --- /dev/null +++ b/drivers/hid/hid-roccat-lua.h | |||
@@ -0,0 +1,29 @@ | |||
1 | #ifndef __HID_ROCCAT_LUA_H | ||
2 | #define __HID_ROCCAT_LUA_H | ||
3 | |||
4 | /* | ||
5 | * Copyright (c) 2012 Stefan Achatz <erazor_de@users.sourceforge.net> | ||
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 { | ||
18 | LUA_SIZE_CONTROL = 8, | ||
19 | }; | ||
20 | |||
21 | enum lua_commands { | ||
22 | LUA_COMMAND_CONTROL = 3, | ||
23 | }; | ||
24 | |||
25 | struct lua_device { | ||
26 | struct mutex lua_lock; | ||
27 | }; | ||
28 | |||
29 | #endif | ||