diff options
author | Stefan Achatz <erazor_de@users.sourceforge.net> | 2012-10-16 17:40:09 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-10-17 10:44:47 +0200 |
commit | 4424f616e48e0a48ac31de8d223ba1bdb46a84f1 (patch) | |
tree | 3c3f9b7cc731d6834ac6d897c1335b16e5d787d6 /drivers/hid/hid-roccat-lua.h | |
parent | def7cb8cd4e3258db88050eaaca5438bcc3dafca (diff) | |
download | op-kernel-dev-4424f616e48e0a48ac31de8d223ba1bdb46a84f1.zip op-kernel-dev-4424f616e48e0a48ac31de8d223ba1bdb46a84f1.tar.gz |
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 0000000..547d77a3 --- /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 |