From ec6267e8620845bad7b402a0689b425f8ca44fe5 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Wed, 21 Dec 2022 12:18:52 +0100 Subject: hwdb: Add mic-mute, control-center and screen-rotation mappings for MSI laptops The MSI Summit E16 Flip A12UCT laptop sends the following unmapped atkbd scancodes: 0x91: Launch MSI Control Center 0xf1: Toggle mic mute 0xf2: Rotate screen The 0x91, 0xf1 and 0xf2 codes are already present in the MSI Prestige/Modern series specific keymappings and the 0xf1 mapping is also already present in the MSI Bravo 15-B5DX FnKeys entry. This shows that these are generic to many MSI models, so add mappings for these to the generic MSI mappings. Since the MSI Bravo 15-B5DX FnKeys entry only contains the 0xf1 mapping and that is covered by the generic MSI mappings now, that entry is removed. Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/822 Link: https://bugzilla.kernel.org/show_bug.cgi?id=216824 --- hwdb.d/60-keyboard.hwdb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'hwdb.d/60-keyboard.hwdb') diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb index c14ebbe6a2..a31beda268 100644 --- a/hwdb.d/60-keyboard.hwdb +++ b/hwdb.d/60-keyboard.hwdb @@ -1385,6 +1385,7 @@ evdev:input:b0003v1532p0200* evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*:* evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:* + KEYBOARD_KEY_91=config # MSIControl Center KEYBOARD_KEY_a0=mute # Fn+F9 KEYBOARD_KEY_ae=volumedown # Fn+F7 KEYBOARD_KEY_b0=volumeup # Fn+F8 @@ -1395,6 +1396,8 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:* KEYBOARD_KEY_e4=f21 # Fn+F3 Touchpad disable KEYBOARD_KEY_ec=email # envelope button KEYBOARD_KEY_ee=camera # Fn+F6 camera disable + KEYBOARD_KEY_f1=f20 # Microphone mute + KEYBOARD_KEY_f2=rotate_display # Rotate screen KEYBOARD_KEY_f6=wlan # satellite dish1 KEYBOARD_KEY_f7=brightnessdown # Fn+F4 KEYBOARD_KEY_f8=brightnessup # Fn+F5 @@ -1436,10 +1439,6 @@ evdev:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][a KEYBOARD_KEY_0213=f22 KEYBOARD_KEY_0214=f23 -# MSI Bravo 15-B5DX FnKeys -evdev:atkbd:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*Bravo15B5D*:* - KEYBOARD_KEY_f1=f20 # Fn+F5 Micmute - ########################################## # NEC ########################################## -- cgit v1.2.1