summaryrefslogtreecommitdiffstats
path: root/hwdb.d/60-keyboard.hwdb
diff options
context:
space:
mode:
authorJian-Hong Pan <jian-hong@endlessm.com>2020-04-09 10:20:36 +0200
committerLennart Poettering <lennart@poettering.net>2020-04-09 14:33:12 +0200
commite58cd39f63317fa0a8580aa2197a27a185b8c0af (patch)
tree4ac79cdcf4a42194a44939a8e48e78728a473a3e /hwdb.d/60-keyboard.hwdb
parentMerge pull request #15345 from keszybz/systemctl-show-spaces (diff)
downloadsystemd-e58cd39f63317fa0a8580aa2197a27a185b8c0af.tar.xz
systemd-e58cd39f63317fa0a8580aa2197a27a185b8c0af.zip
hwdb: Fix kbd brightness keys on Acer Predator PH 315-52
Acer defines Fn+F9/10 as keyboard brightness down/up on Predator PH 315-52 laptop. So, add the quirk to correct key mappings.
Diffstat (limited to '')
-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 176ec3836a..ee335c8c11 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -160,6 +160,11 @@ evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*8930:*
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*7750G:pvr*
KEYBOARD_KEY_e0=!pageup
+# Predator PH 315-52
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnPredator*PH*315-52:pvr*
+ KEYBOARD_KEY_ef=kbdillumup # Fn+F10
+ KEYBOARD_KEY_f0=kbdillumdown # Fn+F9
+
# Travelmate C300
evdev:atkbd:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*C3[01]0*:pvr*
KEYBOARD_KEY_67=f24 # FIXME: rotate screen