diff options
author | Matthew Garrett <mjg@redhat.com> | 2010-07-15 14:23:42 -0400 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2010-08-03 09:48:53 -0400 |
commit | ae42f234470662aefe65ab59a0ef228f1f6f9c77 (patch) | |
tree | 4ed5cf86a5709ebd2066275582d29ea7633d4a73 | |
parent | 08db2b3141b99b476749201eb8e164b39fa7a4ca (diff) |
toshiba-acpi: Add an extra couple of keys
Thomas Bächler reports that his machine generates two keycodes for zooming
in and out. Add these to the default keymap.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: Thomas Bächler <thomas@archlinux.org>
-rw-r--r-- | drivers/platform/x86/toshiba_acpi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index 37aa14798551..a5e1aa3d8c72 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c | |||
@@ -129,6 +129,8 @@ enum {KE_KEY, KE_END}; | |||
129 | 129 | ||
130 | static struct key_entry toshiba_acpi_keymap[] = { | 130 | static struct key_entry toshiba_acpi_keymap[] = { |
131 | {KE_KEY, 0x101, KEY_MUTE}, | 131 | {KE_KEY, 0x101, KEY_MUTE}, |
132 | {KE_KEY, 0x102, KEY_ZOOMOUT}, | ||
133 | {KE_KEY, 0x103, KEY_ZOOMIN}, | ||
132 | {KE_KEY, 0x13b, KEY_COFFEE}, | 134 | {KE_KEY, 0x13b, KEY_COFFEE}, |
133 | {KE_KEY, 0x13c, KEY_BATTERY}, | 135 | {KE_KEY, 0x13c, KEY_BATTERY}, |
134 | {KE_KEY, 0x13d, KEY_SLEEP}, | 136 | {KE_KEY, 0x13d, KEY_SLEEP}, |