toshiba-acpi: Add an extra couple of keys
authorMatthew Garrett <mjg@redhat.com>
Thu, 15 Jul 2010 18:23:42 +0000 (14:23 -0400)
committerMatthew Garrett <mjg@redhat.com>
Tue, 3 Aug 2010 13:48:53 +0000 (09:48 -0400)
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>
drivers/platform/x86/toshiba_acpi.c

index 37aa1479855136c10f2384edc814da5eda6dc6c9..a5e1aa3d8c72556a6c446ed9b24c56e3aa011d5b 100644 (file)
@@ -129,6 +129,8 @@ enum {KE_KEY, KE_END};
 
 static struct key_entry toshiba_acpi_keymap[]  = {
        {KE_KEY, 0x101, KEY_MUTE},
+       {KE_KEY, 0x102, KEY_ZOOMOUT},
+       {KE_KEY, 0x103, KEY_ZOOMIN},
        {KE_KEY, 0x13b, KEY_COFFEE},
        {KE_KEY, 0x13c, KEY_BATTERY},
        {KE_KEY, 0x13d, KEY_SLEEP},