SHA256
1
0
forked from pool/libinput
libinput/0002-udev-default-to-a-trackpoint-range-of-160-for-the-ne.patch
Jan Engelhardt eef365cf52 Accepting request 613009 from home:mwilck:branches:X11:Wayland
- Fix ALPS trackpoint speed (bsc#1013647, fdo#106323)
  backported from upstream 1.10.902
  * added 0001-udev-default-to-a-trackpoint-range-of-160-for-the-ne.patch 
  * added 0002-udev-support-firmware-detection-for-pointing-sticks.patch
- spec file: use %license for COPYING

OBS-URL: https://build.opensuse.org/request/show/613009
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=163
2018-05-30 12:00:29 +00:00

32 lines
1.0 KiB
Diff

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