From 3e65261afafaa145811a2cf27142c2297ce594b3 Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Sun, 4 Jul 2021 17:20:25 +0800 Subject: [PATCH] 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 --- hwdb.d/60-evdev.hwdb | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 #########################################