From: Icenowy Zheng Date: Sun, 4 Jul 2021 09:20:25 +0000 (+0800) Subject: hwdb: add resolution override for Pinebook Pro touchpad X-Git-Tag: v249~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3e65261afafaa145811a2cf27142c2297ce594b3;p=thirdparty%2Fsystemd.git 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 --- diff --git a/hwdb.d/60-evdev.hwdb b/hwdb.d/60-evdev.hwdb index 78afa0c054d..96c5da1104c 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 #########################################