keymap: remap microphone mute keycode for Lenovo Thinkcentre M800z
authorHui Wang <hui.wang@canonical.com>
Wed, 6 Jan 2016 02:37:53 +0000 (10:37 +0800)
committerHarald Hoyer <harald@redhat.com>
Wed, 6 Jan 2016 03:02:32 +0000 (04:02 +0100)
commit0319812234919b38cf4c29d02f0ba107b91b3141
tree1428fab4056864a29fc4ee6642902028b07211d4
parent79a4c0160af9496e0aff92e12ff61dae0f169625
keymap: remap microphone mute keycode for Lenovo Thinkcentre M800z

This Lenovo machine use codec Line2 to implement a microphone mute
button, it depends on the unsolicited interrupt to generate key event,
the scan code for this button is assigned to 0x00 in the linux kernel
driver, and the keycode is KEY_MICMUTE(248), we need to remap this
keycode to KEY_F20 to make this hotkey work in X11.

BugLink: https://bugs.launchpad.net/bugs/1531362
Signed-off-by: Hui Wang <hui.wang@canonical.com>
hwdb/60-keyboard.hwdb