summaryrefslogtreecommitdiff
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2008-06-02 08:39:45 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-06-02 08:39:45 +0400
commitf6d65610df3bd4e7138da03aec391224219df135 (patch)
treefc25795bd58a446505e1ea867938f5bcd46d0b2c /include/linux/input.h
parent5a18c343a6bee4b38965f14a40ccb95306641f87 (diff)
downloadlinux-f6d65610df3bd4e7138da03aec391224219df135.tar.xz
Input: atkbd - use ushort instead of uchar keymap
Since some of the keycodes defined in input.h have values greater than 255 we should use unsigned shorts in keymaps. Tested-by: Carlos Corbacho <carlos@strangeworlds.co.uk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index eff711d8a459..af9c6314153b 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -373,6 +373,8 @@ struct input_absinfo {
#define KEY_WIMAX 246
+/* Range 248 - 255 is reserved for special needs of AT keyboard driver */
+
#define BTN_MISC 0x100
#define BTN_0 0x100
#define BTN_1 0x101