]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Remap micmute to f20 for ASUS WMI hotkeys
authorBenjamin Berg <bberg@redhat.com>
Fri, 22 Apr 2022 13:59:34 +0000 (15:59 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 22 Apr 2022 16:24:00 +0000 (18:24 +0200)
For micmute userspace handles both micmute and f20, as Xorg cannot
handle the high keycode that the micmute key has. As such, adding the
remapping means that the key will work on Xorg clients and not just when
using wayland.

hwdb.d/60-keyboard.hwdb

index e1c124d8b9b3dcc6096b694e87551a4c2927d392..f78bc6d9cb7e738367535898753272fc0d6be9ec 100644 (file)
@@ -233,6 +233,7 @@ evdev:name:Asus WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
 evdev:name:Eee PC WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
 evdev:name:Asus Laptop extra buttons:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
  KEYBOARD_KEY_6b=f21                                    # Touchpad Toggle
+ KEYBOARD_KEY_7c=f20                                    # Remap micmute to f20
 
 # USB keyboard in Asus FX503VD
 evdev:input:b0003v0B05p1869*