summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippo Falezza <filippo.falezza@outlook.it>2020-07-09 19:12:20 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-07-10 18:55:30 +0200
commit5c53766f289cd287fcdcb84afb9148bb6bbbfd17 (patch)
tree0f6474a0b564e0f5be6b704b9b6e9e44c7409a0b
parentd0571b758b32c23e5ba7404114993613d322497f (diff)
downloadsystemd-5c53766f289cd287fcdcb84afb9148bb6bbbfd17.tar.gz
Added MSI Prestige15 A10SC specific keycodes
This commit enables the microphone mute button and the screen rotate button, even if the latter is improperly linked. I have documented how to achieve this in https://wiki.archlinux.org/index.php/MSI_P15#Fn_Keys .
-rw-r--r--hwdb.d/60-keyboard.hwdb5
1 files changed, 5 insertions, 0 deletions
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 9935f23375..7b08e2643e 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1228,6 +1228,11 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*PR200*:pvr*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:*
KEYBOARD_KEY_e4=reserved
+# MSI Prestige15 A10SC specific keycodes. Needed for microphone and screen rotation
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*A10SC*:pvr*
+ KEYBOARD_KEY_f1=f20
+ KEYBOARD_KEY_f2=f21
+
###########################################################
# MSI
###########################################################