summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-roccat-lua.h
diff options
context:
space:
mode:
authorStefan Achatz <erazor_de@users.sourceforge.net>2012-10-16 17:40:09 +0200
committerJiri Kosina <jkosina@suse.cz>2012-10-17 10:44:47 +0200
commit4424f616e48e0a48ac31de8d223ba1bdb46a84f1 (patch)
tree3c3f9b7cc731d6834ac6d897c1335b16e5d787d6 /drivers/hid/hid-roccat-lua.h
parentdef7cb8cd4e3258db88050eaaca5438bcc3dafca (diff)
downloadlinux-4424f616e48e0a48ac31de8d223ba1bdb46a84f1.tar.bz2
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.h29
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 000000000000..547d77a375d1
--- /dev/null
+++ b/drivers/hid/hid-roccat-lua.h
@@ -0,0 +1,29 @@
+#ifndef __HID_ROCCAT_LUA_H
+#define __HID_ROCCAT_LUA_H
+
+/*
+ * Copyright (c) 2012 Stefan Achatz <erazor_de@users.sourceforge.net>
+ */
+
+/*
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the Free
+ * Software Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ */
+
+#include <linux/types.h>
+
+enum {
+ LUA_SIZE_CONTROL = 8,
+};
+
+enum lua_commands {
+ LUA_COMMAND_CONTROL = 3,
+};
+
+struct lua_device {
+ struct mutex lua_lock;
+};
+
+#endif