]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Input: add KEY_SPELLCHECK
authorJiri Kosina <jkosina@suse.cz>
Wed, 8 Aug 2007 15:19:08 +0000 (17:19 +0200)
committerJiri Kosina <jkosina@suse.cz>
Sun, 14 Oct 2007 11:40:00 +0000 (13:40 +0200)
HUT 1.12 defines Spell Check usage 0x1ab in Consumer page. There are
keyboards out there emitting this usage code (for example Microsoft
Natural Ergonomic Keyboard 4000). Add this key so that HID code could
map usages to it.

Acked-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
include/linux/input.h

index 6eb3aead7f1d93775ba4020e9d252df5210c757a..fff34e7ce8e7c3b6fa1c63c0bc0af6a4ba069770 100644 (file)
@@ -523,6 +523,7 @@ struct input_absinfo {
 #define KEY_ADDRESSBOOK                0x1ad   /* AL Contacts/Address Book */
 #define KEY_MESSENGER          0x1ae   /* AL Instant Messaging */
 #define KEY_DISPLAYTOGGLE      0x1af   /* Turn display (LCD) on and off */
+#define KEY_SPELLCHECK         0x1b0   /* AL Spell Check */
 
 #define KEY_DEL_EOL            0x1c0
 #define KEY_DEL_EOS            0x1c1