Files
linux/drivers
Hans de Goede 348f68ae40 HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE
[ Upstream commit 617103246c ]

Mapping the mic-mute button to KEY_MICMUTE is technically correct but
KEY_MICMUTE translates to a scancode of 256 (248 + 8) under X,
which does not fit in 8 bits, so it does not work.

Because of this userspace is expecting KEY_F20 instead,
theoretically KEY_MICMUTE should work under Wayland but even
there it does not work, because the desktop-environment is
listening only for KEY_F20 and not for KEY_MICMUTE.

Fixes: bc04b37ea0 ("HID: lenovo: Add ThinkPad 10 Ultrabook Keyboard support")
Reviewed-by: Marek Behún <kabel@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-14 09:50:33 +02:00
..
2021-05-14 09:50:24 +02:00
2021-05-14 09:50:21 +02:00
2021-03-04 11:38:21 +01:00
2021-04-10 13:36:08 +02:00
2021-05-11 14:47:26 +02:00
2020-12-30 11:53:53 +01:00
2021-03-04 11:38:03 +01:00
2021-04-16 11:43:22 +02:00