]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Add keycode map for alc input device
authorHui Wang <hui.wang@canonical.com>
Mon, 28 Dec 2015 03:35:25 +0000 (11:35 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Dec 2015 09:03:36 +0000 (10:03 +0100)
commitf31f278562719e660ab4157bae3c98ae7c20eff7
tree25289eb1c967eff8d681367bce8e33b92d996ea3
parent703fb665949b51fe3c4654d0b23ae63389c8a875
ALSA: hda - Add keycode map for alc input device

Then users can remap the keycode from userspace. If without the remap,
the input device will pass KEY_MICMUTE to userspace, but in X11 layer,
it uses KEY_F20 rather than KEY_MICMUTE for XF86AudioMicMute. After
adding the keycode map, users can remap the keycode to any value users
want.

Cc: <stable@vger.kernel.org>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c