SHA256
1
0
forked from pool/libinput
libinput/0002-udev-default-to-a-trackpoint-range-of-160-for-the-ne.patch

32 lines
1.0 KiB
Diff
Raw Normal View History

From 2c3dc66636672f54598fb799d7559ec4572201a7 Mon Sep 17 00:00:00 2001
From: Peter Hutterer <peter.hutterer@who-t.net>
Date: Fri, 25 May 2018 16:37:05 +1000
Subject: [PATCH 2/2] udev: default to a trackpoint range of 160 for the new
ALPS trackpoints
https://bugs.freedesktop.org/show_bug.cgi?id=106323
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Martin Wilck <mwilck@suse.com>
---
udev/90-libinput-model-quirks.hwdb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/udev/90-libinput-model-quirks.hwdb b/udev/90-libinput-model-quirks.hwdb
index b45ffd9..79d775f 100644
--- a/udev/90-libinput-model-quirks.hwdb
+++ b/udev/90-libinput-model-quirks.hwdb
@@ -43,6 +43,9 @@ libinput:name:*AlpsPS/2 ALPS DualPoint TouchPad:fwversion:800
libinput:name:*AlpsPS/2 ALPS GlidePoint:fwversion:800
LIBINPUT_ATTR_SIZE_HINT=100x55
+libinput:name:*AlpsPS/2 ALPS DualPoint Stick:fwversion:800
+ LIBINPUT_ATTR_TRACKPOINT_RANGE=160
+
##########################################
# Apple
##########################################
--
2.17.0