Commit 5b0c9156 authored by Jingyuan Liang's avatar Jingyuan Liang Committed by sanglipeng
Browse files

HID: Add Mapping for System Microphone Mute

stable inclusion
from stable-v5.10.173
commit bc919c866dd5a6bc0533f1418cb021ac83b1b913
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8BFR3

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=bc919c866dd5a6bc0533f1418cb021ac83b1b913



--------------------------------

[ Upstream commit 2d60f9f4 ]

HUTRR110 added a new usage code for a key that is supposed to
mute/unmute microphone system-wide.

Map the new usage code(0x01 0xa9) to keycode KEY_MICMUTE.
Additionally hid-debug is adjusted to recognize this keycode as well.

Signed-off-by: default avatarJingyuan Liang <jingyliang@chromium.org>
Reviewed-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 23277aaf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment