Skip to content

Commit db94948

Browse files
committed
platform/x86: asus-nb-wmi: Add alternate mapping for KEY_SCREENLOCK
The 0x33 keycode is emitted by Fn + F6 on a ASUS FX705GE laptop. Reported-by: Nemcev Aleksey <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent c78a4e1 commit db94948

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/x86/asus-nb-wmi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ static const struct key_entry asus_nb_wmi_keymap[] = {
511511
{ KE_KEY, 0x30, { KEY_VOLUMEUP } },
512512
{ KE_KEY, 0x31, { KEY_VOLUMEDOWN } },
513513
{ KE_KEY, 0x32, { KEY_MUTE } },
514+
{ KE_KEY, 0x33, { KEY_SCREENLOCK } },
514515
{ KE_KEY, 0x35, { KEY_SCREENLOCK } },
515516
{ KE_KEY, 0x38, { KEY_PROG3 } }, /* Armoury Crate */
516517
{ KE_KEY, 0x40, { KEY_PREVIOUSSONG } },

0 commit comments

Comments
 (0)