summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2010-12-16 08:33:44 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2010-12-16 08:33:44 -0800
commit9fe4145530e6072cc838beb95ca68cada8c56909 (patch)
tree72d0c2d45bb92e75f3a0b4e102fbee2904dea4c0 /include
parentb0c3844d8af6b9f3f18f31e1b0502fbefa2166be (diff)
parentab4e0192196b8d4e43a3945742d4996da934a86f (diff)
downloadlinux-3.10-9fe4145530e6072cc838beb95ca68cada8c56909.tar.gz
linux-3.10-9fe4145530e6072cc838beb95ca68cada8c56909.tar.bz2
linux-3.10-9fe4145530e6072cc838beb95ca68cada8c56909.zip
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: Input: define separate EVIOCGKEYCODE_V2/EVIOCSKEYCODE_V2 Input: wacom - add another Bamboo Pen ID (0xd4)
Diffstat (limited to 'include')
-rw-r--r--include/linux/input.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index a8af21d42bc..9777668883b 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -104,8 +104,10 @@ struct input_keymap_entry {
#define EVIOCGREP _IOR('E', 0x03, unsigned int[2]) /* get repeat settings */
#define EVIOCSREP _IOW('E', 0x03, unsigned int[2]) /* set repeat settings */
-#define EVIOCGKEYCODE _IOR('E', 0x04, struct input_keymap_entry) /* get keycode */
-#define EVIOCSKEYCODE _IOW('E', 0x04, struct input_keymap_entry) /* set keycode */
+#define EVIOCGKEYCODE _IOR('E', 0x04, unsigned int[2]) /* get keycode */
+#define EVIOCGKEYCODE_V2 _IOR('E', 0x04, struct input_keymap_entry)
+#define EVIOCSKEYCODE _IOW('E', 0x04, unsigned int[2]) /* set keycode */
+#define EVIOCSKEYCODE_V2 _IOW('E', 0x04, struct input_keymap_entry)
#define EVIOCGNAME(len) _IOC(_IOC_READ, 'E', 0x06, len) /* get device name */
#define EVIOCGPHYS(len) _IOC(_IOC_READ, 'E', 0x07, len) /* get physical location */