dcavalca / rpms / systemd

Forked from rpms/systemd 4 months ago
Clone
594167
From 79e73005cfb020a90aaf322c1bbc7a67b1ccfd4e Mon Sep 17 00:00:00 2001
594167
From: Benjamin Berg <bberg@redhat.com>
594167
Date: Fri, 22 Apr 2022 15:59:34 +0200
594167
Subject: [PATCH] hwdb: Remap micmute to f20 for ASUS WMI hotkeys
594167
594167
For micmute userspace handles both micmute and f20, as Xorg cannot
594167
handle the high keycode that the micmute key has. As such, adding the
594167
remapping means that the key will work on Xorg clients and not just when
594167
using wayland.
594167
594167
(cherry picked from commit 386885c4e6e3908c26582caddb07dead12713aa1)
594167
594167
Related: #2087778
594167
---
594167
 hwdb.d/60-keyboard.hwdb | 1 +
594167
 1 file changed, 1 insertion(+)
594167
594167
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
594167
index e1c124d8b9..f78bc6d9cb 100644
594167
--- a/hwdb.d/60-keyboard.hwdb
594167
+++ b/hwdb.d/60-keyboard.hwdb
594167
@@ -233,6 +233,7 @@ evdev:name:Asus WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
594167
 evdev:name:Eee PC WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
594167
 evdev:name:Asus Laptop extra buttons:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
594167
  KEYBOARD_KEY_6b=f21                                    # Touchpad Toggle
594167
+ KEYBOARD_KEY_7c=f20                                    # Remap micmute to f20
594167
 
594167
 # USB keyboard in Asus FX503VD
594167
 evdev:input:b0003v0B05p1869*