diff options
author | Matan Ziv-Av <matan@svgalib.org> | 2021-08-18 11:34:50 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-08-20 12:09:41 +0200 |
commit | 85973bf4c1b19cc1c6e801d492645bd63275573e (patch) | |
tree | 96a6529519c66d21d05a54b4b0fbf20bdc31b84e /drivers/platform | |
parent | platform/x86: lg-laptop: Support for battery charge limit on newer models (diff) | |
download | linux-85973bf4c1b19cc1c6e801d492645bd63275573e.tar.xz linux-85973bf4c1b19cc1c6e801d492645bd63275573e.zip |
platform/x86: lg-laptop: Use correct event for touchpad toggle FN-key
Send F21 which is the standard for this key, instead of F13.
Signed-off-by: Matan Ziv-Av <matan@svgalib.org>
Link: https://lore.kernel.org/r/b847895c1f170e2e59df5757a4d603d28149f648.1629291912.git.matan@svgalib.org
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/lg-laptop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/lg-laptop.c b/drivers/platform/x86/lg-laptop.c index c78efeee1c19..12b497a11c6f 100644 --- a/drivers/platform/x86/lg-laptop.c +++ b/drivers/platform/x86/lg-laptop.c @@ -74,7 +74,7 @@ static int battery_limit_use_wmbb; static const struct key_entry wmi_keymap[] = { {KE_KEY, 0x70, {KEY_F15} }, /* LG control panel (F1) */ - {KE_KEY, 0x74, {KEY_F13} }, /* Touchpad toggle (F5) */ + {KE_KEY, 0x74, {KEY_F21} }, /* Touchpad toggle (F5) */ {KE_KEY, 0xf020000, {KEY_F14} }, /* Read mode (F9) */ {KE_KEY, 0x10000000, {KEY_F16} },/* Keyboard backlight (F8) - pressing * this key both sends an event and |