]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
hwdb: add resolution override for Pinebook Pro touchpad
authorIcenowy Zheng <icenowy@aosc.io>
Sun, 4 Jul 2021 09:20:25 +0000 (17:20 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 5 Jul 2021 07:49:35 +0000 (09:49 +0200)
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>
hwdb.d/60-evdev.hwdb

index 78afa0c054dc5938db37738be69125389c4190f9..96c5da1104c6255b00d19d3302bc9ab0398c6d80 100644 (file)
@@ -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
 #########################################