]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Added MSI Prestige15 A10SC specific keycodes
authorFilippo Falezza <filippo.falezza@outlook.it>
Thu, 9 Jul 2020 17:12:20 +0000 (19:12 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 10 Jul 2020 16:55:30 +0000 (18:55 +0200)
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 .

hwdb.d/60-keyboard.hwdb

index 9935f2337532fe9fb94cd424144dd4de51b81960..7b08e2643e9f54cc5d5b3e1aac93a66b37b6151f 100644 (file)
@@ -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
 ###########################################################