diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-04-09 05:46:46 -0400 |
---|---|---|
committer | Matthew Garrett <matthew.garrett@nebula.com> | 2014-06-10 19:11:10 -0400 |
commit | 8b9dd4fab26a0f328420cbda0845a325f45bcd92 (patch) | |
tree | 5f9d4f698abea91c86e2c36084aa504b0bf3beb7 /drivers/platform/x86 | |
parent | 4738d8aabe89d237f30a28c65f61391a1435e3a7 (diff) |
thinkpad_acpi: Add mappings for F9 - F12 hotkeys on X240 / T440 / T540
The T440s user guide says that when Fn-lock is not active, the *40s' F9 - F12
keys should be mapped to: control-panel, search, show-all-windows and Computer.
These keys generate the sofar unused 28 - 31 hotkey scancodes.
For the first 2 this nicely matches the icons on the keys, for the latter 2
the icons are somewhat creative, which is why I ended up looking them up in
the user manual.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 15e61c16736e..d82f196e3cfe 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -3171,8 +3171,10 @@ static int __init hotkey_init(struct ibm_init_struct *iibm) | |||
3171 | KEY_MICMUTE, /* 0x1a: Mic mute (since ?400 or so) */ | 3171 | KEY_MICMUTE, /* 0x1a: Mic mute (since ?400 or so) */ |
3172 | 3172 | ||
3173 | /* (assignments unknown, please report if found) */ | 3173 | /* (assignments unknown, please report if found) */ |
3174 | KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, KEY_UNKNOWN, | ||
3175 | KEY_UNKNOWN, | 3174 | KEY_UNKNOWN, |
3175 | |||
3176 | /* Extra keys in use since the X240 / T440 / T540 */ | ||
3177 | KEY_CONFIG, KEY_SEARCH, KEY_SCALE, KEY_COMPUTER, | ||
3176 | }, | 3178 | }, |
3177 | }; | 3179 | }; |
3178 | 3180 | ||