Skip to content

Commit

Permalink
toshiba-acpi: Add an extra couple of keys
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Matthew Garrett committed Aug 3, 2010
1 parent 08db2b3 commit ae42f23
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/platform/x86/toshiba_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down

0 comments on commit ae42f23

Please sign in to comment.