summaryrefslogtreecommitdiff
path: root/hwdb.d
diff options
context:
space:
mode:
authorMatthew Leeds <matthew.leeds@endlessm.com>2020-02-06 16:30:25 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-02-07 15:33:17 +0100
commit68697cdd1274fe64ec57ac3a01f645ee821d6238 (patch)
treebf71f95c90f09e6e31967ed3e06fcbda1c37edc0 /hwdb.d
parent74deaff1188adfc4494f3ceb56e8aa7274b493be (diff)
downloadsystemd-68697cdd1274fe64ec57ac3a01f645ee821d6238.tar.gz
hwdb: Fix touchpad toggle on WeiHeng P325J
On the WeiHeng P325J laptop, Fn+F2 sends LeftWindow (0xe0 0x5b) + LeftCtrl (0x1d) + F24 (0x76). Add a quirk to remap the 0x76 to F21 which toggles the touchpad. The Ctrl + Win part is handled in userspace, e.g by gnome-settings-daemon here: https://gitlab.gnome.org/GNOME/gnome-settings-daemon/commit/f545950fe This is analogous to what was done for the T-bao hardware here: https://github.com/systemd/systemd/commit/d4a5df521d
Diffstat (limited to 'hwdb.d')
-rw-r--r--hwdb.d/60-keyboard.hwdb8
1 files changed, 8 insertions, 0 deletions
diff --git a/hwdb.d/60-keyboard.hwdb b/hwdb.d/60-keyboard.hwdb
index 1474a860b3..ccd67e2658 100644
--- a/hwdb.d/60-keyboard.hwdb
+++ b/hwdb.d/60-keyboard.hwdb
@@ -1559,6 +1559,14 @@ evdev:name:SIPODEV USB Composite Device:dmi:bvn*:bvr*:bd*:svnVIOS:pnLTH17:pvr*
KEYBOARD_KEY_70073=f21 # Touchpad toggle
###########################################################
+# WeiHeng
+###########################################################
+
+# P325J
+evdev:atkbd:dmi:bvn*:bvr*:bd*:svnINET:pnP325J:pvr*
+ KEYBOARD_KEY_76=f21 # Touchpad toggle
+
+###########################################################
# Zepto
###########################################################