summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2021-07-04 17:20:25 +0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-07-05 09:49:35 +0200
commit3e65261afafaa145811a2cf27142c2297ce594b3 (patch)
tree69a5c0749ba467f8e6d58641058bf5269741138d
parentd7f223d7384f049d3e7a2a51835ea1d2aefd68ed (diff)
downloadsystemd-3e65261afafaa145811a2cf27142c2297ce594b3.tar.gz
hwdb: add resolution override for Pinebook Pro touchpad
The Pinebook Pro touchpad returns a resolution data that is 2 times of the real value, which makes libinput think the touchpad is only 1/4 the real size. Add a resolution override value for it, to allow libinput to calculate the distance moved on it correctly. Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
-rw-r--r--hwdb.d/60-evdev.hwdb11
1 files changed, 11 insertions, 0 deletions
diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb
index 78afa0c054..96c5da1104 100644
--- a/hwdb.d/60-evdev.hwdb
+++ b/hwdb.d/60-evdev.hwdb
@@ -591,6 +591,17 @@ evdev:input:b0003v6161p4D15*
EVDEV_ABS_00=::152
EVDEV_ABS_01=::244
+###########################################################
+# Pine64
+###########################################################
+
+# Pinebook Pro
+evdev:input:b0003v258Ap001E*
+ EVDEV_ABS_00=::15
+ EVDEV_ABS_01=::15
+ EVDEV_ABS_35=::15
+ EVDEV_ABS_36=::15
+
#########################################
# Razer
#########################################