diff options
| author | Azael Avalos <coproscefalo@gmail.com> | 2014-09-05 13:14:03 -0400 |
|---|---|---|
| committer | Darren Hart <dvhart@linux.intel.com> | 2014-09-17 16:55:51 -0400 |
| commit | 408a5d136b84f5fb43c9441153403d18255cb79c (patch) | |
| tree | cbc6319fbbf635bc2ff64a16aeabbc3a530e68c8 /drivers/platform/x86 | |
| parent | 9e82bf014195d6f0054982c463575cdce24292be (diff) | |
toshiba_acpi: Additional hotkey scancodes
Appart from reporting hotkeys, the INFO method is used
as a system wide event notifier for hardware or
software changes.
This patch adds additional "events" to the keymap list,
ignored by now, until we find them a good use.
Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86')
| -rw-r--r-- | drivers/platform/x86/toshiba_acpi.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index d0dce734b2ed..bad9f12a6720 100644 --- a/drivers/platform/x86/toshiba_acpi.c +++ b/drivers/platform/x86/toshiba_acpi.c | |||
| @@ -190,6 +190,7 @@ static const struct key_entry toshiba_acpi_keymap[] = { | |||
| 190 | { KE_KEY, 0x101, { KEY_MUTE } }, | 190 | { KE_KEY, 0x101, { KEY_MUTE } }, |
| 191 | { KE_KEY, 0x102, { KEY_ZOOMOUT } }, | 191 | { KE_KEY, 0x102, { KEY_ZOOMOUT } }, |
| 192 | { KE_KEY, 0x103, { KEY_ZOOMIN } }, | 192 | { KE_KEY, 0x103, { KEY_ZOOMIN } }, |
| 193 | { KE_KEY, 0x10f, { KEY_TAB } }, | ||
| 193 | { KE_KEY, 0x12c, { KEY_KBDILLUMTOGGLE } }, | 194 | { KE_KEY, 0x12c, { KEY_KBDILLUMTOGGLE } }, |
| 194 | { KE_KEY, 0x139, { KEY_ZOOMRESET } }, | 195 | { KE_KEY, 0x139, { KEY_ZOOMRESET } }, |
| 195 | { KE_KEY, 0x13b, { KEY_COFFEE } }, | 196 | { KE_KEY, 0x13b, { KEY_COFFEE } }, |
| @@ -210,7 +211,11 @@ static const struct key_entry toshiba_acpi_keymap[] = { | |||
| 210 | { KE_KEY, 0xb32, { KEY_NEXTSONG } }, | 211 | { KE_KEY, 0xb32, { KEY_NEXTSONG } }, |
| 211 | { KE_KEY, 0xb33, { KEY_PLAYPAUSE } }, | 212 | { KE_KEY, 0xb33, { KEY_PLAYPAUSE } }, |
| 212 | { KE_KEY, 0xb5a, { KEY_MEDIA } }, | 213 | { KE_KEY, 0xb5a, { KEY_MEDIA } }, |
| 213 | { KE_IGNORE, 0x1430, { KEY_RESERVED } }, | 214 | { KE_IGNORE, 0x1430, { KEY_RESERVED } }, /* Wake from sleep */ |
| 215 | { KE_IGNORE, 0x1501, { KEY_RESERVED } }, /* Output changed */ | ||
| 216 | { KE_IGNORE, 0x1502, { KEY_RESERVED } }, /* HDMI plugged/unplugged */ | ||
| 217 | { KE_IGNORE, 0x1ABE, { KEY_RESERVED } }, /* Protection level set */ | ||
| 218 | { KE_IGNORE, 0x1ABF, { KEY_RESERVED } }, /* Protection level off */ | ||
| 214 | { KE_END, 0 }, | 219 | { KE_END, 0 }, |
| 215 | }; | 220 | }; |
| 216 | 221 | ||
