diff options
author | Florian Festi <ffesti@redhat.com> | 2006-12-14 11:59:11 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2006-12-14 13:37:24 +0100 |
commit | 1c1e40b5ad6e345feba69bc612db006efccf4cdc (patch) | |
tree | c395fd94ceeef16eb3a762b5606bd5b54d147ff3 /include/linux | |
parent | e3a0dd7ced76bb439ddeda244a9667e7b3800fc8 (diff) | |
download | op-kernel-dev-1c1e40b5ad6e345feba69bc612db006efccf4cdc.zip op-kernel-dev-1c1e40b5ad6e345feba69bc612db006efccf4cdc.tar.gz |
input/hid: Supporting more keys from the HUT Consumer Page
On USB keyboards lots of hot/internet keys are not working. This patch
adds support for a number of keys from the USB HID Usage Table
(http://www.usb.org/developers/devclass_docs/Hut1_12.pdf).
It also adds several new key codes. Most of them are used on real world
keyboards I know. I added some others (KEY_+ EDITOR, GRAPHICSEDITOR, DATABASE,
NEWS, VOICEMAIL, VIDEOPHONE) to avoid "holes".
I also added KEY_ZOOMRESET as it is possible to have a inet keyboard and a
remote control in parallel and it makes sense to have them behave differently.
Signed-off-by: Florian Festi <ffesti@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/input.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/linux/input.h b/include/linux/input.h index 4e61158..bde65c8 100644 --- a/include/linux/input.h +++ b/include/linux/input.h @@ -491,6 +491,21 @@ struct input_absinfo { #define KEY_DIGITS 0x19d #define KEY_TEEN 0x19e #define KEY_TWEN 0x19f +#define KEY_VIDEOPHONE 0x1a0 +#define KEY_GAMES 0x1a1 +#define KEY_ZOOMIN 0x1a2 +#define KEY_ZOOMOUT 0x1a3 +#define KEY_ZOOMRESET 0x1a4 +#define KEY_WORDPROCESSOR 0x1a5 +#define KEY_EDITOR 0x1a6 +#define KEY_SPREADSHEET 0x1a7 +#define KEY_GRAPHICSEDITOR 0x1a8 +#define KEY_PRESENTATION 0x1a9 +#define KEY_DATABASE 0x1aa +#define KEY_NEWS 0x1ab +#define KEY_VOICEMAIL 0x1ac +#define KEY_ADDRESSBOOK 0x1ad +#define KEY_MESSENGER 0x1ae #define KEY_DEL_EOL 0x1c0 #define KEY_DEL_EOS 0x1c1 |