]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: Add force-release for HP Omen 15 calculator key. (#20538)
authorI-dont-need-name <43914475+I-dont-need-name@users.noreply.github.com>
Thu, 26 Aug 2021 09:25:32 +0000 (12:25 +0300)
committerGitHub <noreply@github.com>
Thu, 26 Aug 2021 09:25:32 +0000 (10:25 +0100)
* Add force-release for HP Omen 15 calculator key.

The key doesn't create release event so I have come up with this fix to make it work properly.

hwdb.d/60-keyboard.hwdb

index 2e0614369709db552a08a181c507b249d3dfd0bf..374a77a5d3d00303c368318d3d6f3f17cf7ba1fc 100644 (file)
@@ -709,6 +709,10 @@ evdev:name:gpio-keys:phys:gpio-keys/input0:ev:3:dmi:*:svnHewlett-Packard:pnHPStr
 evdev:name:gpio-keys:phys:gpio-keys/input0:ev:23:dmi:*:svnHewlett-Packard:pnHPStream7Tablet:*
  KEYBOARD_KEY_0=unknown
 
+# HP Omen 15
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnHP:pnOMENLaptop15*:pvr*
+ KEYBOARD_KEY_a1=!calc
+
 ##########################################################
 # Huawei
 ##########################################################