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)
commitc7b60a89516beb20a352ec85c73a8fccd5becf26
tree25289eb1c967eff8d681367bce8e33b92d996ea3
parent3694cb2947db50753caf432db067487eafae7b9b
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
This page took 0.026826 seconds and 5 git commands to generate.