naccyde / rpms / systemd

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