projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c78a4e1
)
platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK
author
Hans de Goede
<hdegoede@redhat.com>
Thu, 12 Jan 2023 18:18:41 +0000
(19:18 +0100)
committer
Hans de Goede
<hdegoede@redhat.com>
Thu, 12 Jan 2023 18:20:06 +0000
(19:20 +0100)
The 0x33 keycode is emitted by Fn + F6 on a ASUS FX705GE laptop.
Reported-by: Nemcev Aleksey <Nemcev_Aleksey@inbox.ru>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link:
https://lore.kernel.org/r/20230112181841.84652-1-hdegoede@redhat.com
drivers/platform/x86/asus-nb-wmi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/asus-nb-wmi.c
b/drivers/platform/x86/asus-nb-wmi.c
index 8ee5d108e9e05f7f3ee19390125d2a13d04159b3..b34bddda0a9b37cabbf560845f742d576601e786 100644
(file)
--- a/
drivers/platform/x86/asus-nb-wmi.c
+++ b/
drivers/platform/x86/asus-nb-wmi.c
@@
-511,6
+511,7
@@
static const struct key_entry asus_nb_wmi_keymap[] = {
{ KE_KEY, 0x30, { KEY_VOLUMEUP } },
{ KE_KEY, 0x31, { KEY_VOLUMEDOWN } },
{ KE_KEY, 0x32, { KEY_MUTE } },
+ { KE_KEY, 0x33, { KEY_SCREENLOCK } },
{ KE_KEY, 0x35, { KEY_SCREENLOCK } },
{ KE_KEY, 0x38, { KEY_PROG3 } }, /* Armoury Crate */
{ KE_KEY, 0x40, { KEY_PREVIOUSSONG } },