- Update to new upstream release 1.11.0
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/libinput?expand=0&rev=165
This commit is contained in:
parent
31ac6ae550
commit
2f2a0a163c
@ -1,84 +0,0 @@
|
||||
From efccf735355c498176fd5093aa89cfb46ef16c94 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Wilck <mwilck@suse.com>
|
||||
Date: Tue, 29 May 2018 09:28:09 +0200
|
||||
Subject: [PATCH 1/2] udev: support firmware detection for pointing sticks
|
||||
|
||||
Add support for firmware detection on pointing stick devices. This
|
||||
is needed for ALPS only at this time.
|
||||
|
||||
Signed-off-by: Martin Wilck <mwilck@suse.com>
|
||||
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
||||
---
|
||||
udev/90-libinput-model-quirks.rules.in | 15 +++++++++------
|
||||
udev/libinput-model-quirks.c | 15 +++++++++++++++
|
||||
2 files changed, 24 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/udev/90-libinput-model-quirks.rules.in b/udev/90-libinput-model-quirks.rules.in
|
||||
index e7d56bb..b584513 100644
|
||||
--- a/udev/90-libinput-model-quirks.rules.in
|
||||
+++ b/udev/90-libinput-model-quirks.rules.in
|
||||
@@ -11,19 +11,22 @@
|
||||
ACTION!="add|change", GOTO="libinput_model_quirks_end"
|
||||
KERNEL!="event*", GOTO="libinput_model_quirks_end"
|
||||
|
||||
-# Touchpad firmware detection, two-stage process.
|
||||
+# Firmware detection, two-stage process.
|
||||
# First, run the program and import the LIBINPUT_MODEL_FIRMWARE_VERSION
|
||||
# environment (if any)
|
||||
KERNELS=="*input*", \
|
||||
ENV{ID_INPUT_TOUCHPAD}=="1", \
|
||||
- IMPORT{program}="@UDEV_TEST_PATH@libinput-model-quirks %S%p"
|
||||
-
|
||||
-# Second, match on anything with that env set and import from the hwdb
|
||||
+ ENV{.DETECT_FWVERSION}="1"
|
||||
KERNELS=="*input*", \
|
||||
- ENV{ID_INPUT_TOUCHPAD}=="1", \
|
||||
- ENV{LIBINPUT_MODEL_FIRMWARE_VERSION}!="", \
|
||||
+ ENV{ID_INPUT_POINTINGSTICK}=="1", \
|
||||
+ ENV{.DETECT_FWVERSION}="1"
|
||||
+ENV{.DETECT_FWVERSION}!="1", GOTO="skip_fwversion"
|
||||
+
|
||||
+IMPORT{program}="@UDEV_TEST_PATH@libinput-model-quirks %S%p"
|
||||
+ENV{LIBINPUT_MODEL_FIRMWARE_VERSION}!="", \
|
||||
IMPORT{builtin}="hwdb 'libinput:name:$attr{name}:fwversion:$env{LIBINPUT_MODEL_FIRMWARE_VERSION}'"
|
||||
# End of touchpad firmware detection
|
||||
+LABEL="skip_fwversion"
|
||||
|
||||
# libinput:touchpad:<modalias>
|
||||
ENV{ID_INPUT_TOUCHPAD}=="1", \
|
||||
diff --git a/udev/libinput-model-quirks.c b/udev/libinput-model-quirks.c
|
||||
index 2dc917d..411665d 100644
|
||||
--- a/udev/libinput-model-quirks.c
|
||||
+++ b/udev/libinput-model-quirks.c
|
||||
@@ -107,6 +107,19 @@ handle_touchpad(struct udev_device *device)
|
||||
handle_touchpad_synaptics(device);
|
||||
}
|
||||
|
||||
+static void
|
||||
+handle_pointingstick(struct udev_device *device)
|
||||
+{
|
||||
+ const char *name = NULL;
|
||||
+
|
||||
+ name = prop_value(device, "NAME");
|
||||
+ if (!name)
|
||||
+ return;
|
||||
+
|
||||
+ if (strstr(name, "AlpsPS/2 ALPS") != NULL)
|
||||
+ handle_touchpad_alps(device);
|
||||
+}
|
||||
+
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
int rc = 1;
|
||||
@@ -129,6 +142,8 @@ int main(int argc, char **argv)
|
||||
|
||||
if (prop_value(device, "ID_INPUT_TOUCHPAD"))
|
||||
handle_touchpad(device);
|
||||
+ if (prop_value(device, "ID_INPUT_POINTINGSTICK"))
|
||||
+ handle_pointingstick(device);
|
||||
|
||||
rc = 0;
|
||||
|
||||
--
|
||||
2.17.0
|
||||
|
@ -1,31 +0,0 @@
|
||||
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
|
||||
|
BIN
libinput-1.10.7.tar.xz
(Stored with Git LFS)
BIN
libinput-1.10.7.tar.xz
(Stored with Git LFS)
Binary file not shown.
Binary file not shown.
BIN
libinput-1.11.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
libinput-1.11.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
libinput-1.11.0.tar.xz.sig
Normal file
BIN
libinput-1.11.0.tar.xz.sig
Normal file
Binary file not shown.
@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 5 11:36:37 UTC 2018 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 1.11.0
|
||||
* Automatic parsing of the trackpoint sensitivity sysfs file
|
||||
was reverted, since this caused the trackpoint to send NaN
|
||||
deltas on some devices, notiably the Lenovo CompactKeyboard
|
||||
with Trackpoint.
|
||||
* A new tool pair is available now: libinput record and
|
||||
libinput replay. These tools supersede the
|
||||
evemu-record/evemu-play tools currently used to debug events.
|
||||
* The touchpad jitter detection code has been improved to
|
||||
reduce the number of false positives. Some touchpads require
|
||||
the kernel fuzz setting to be set to avoid pointer jitter
|
||||
though, please see this page for details:
|
||||
https://wayland.freedesktop.org/libinput/doc/latest/touchpad_jitter.html
|
||||
* A new touchpad acceleration code has been merged, the
|
||||
behavior now resembles the pointer acceleration of macOS. You
|
||||
will notice that your touchpad is slower at slow speeds and
|
||||
accelerates sooner. At the same time, the speed range
|
||||
available has been greatly extended, so the slowest speed and
|
||||
highest speed are quite significantly apart now. This should,
|
||||
hopefully, allow all users to select a speed to match their
|
||||
preferences.
|
||||
* The maximum delta for trackpoints has been increased,
|
||||
reducing the amount of pressure required to move the pointer
|
||||
around the screen.
|
||||
* A bunch of trackpoint range hwdb entries to set the expected
|
||||
range for some common devices were merged. The
|
||||
POINTINGSTICK_SENSITIVITY udev property is now ignored,
|
||||
instead we just read that value directly from sysfs.
|
||||
- Remove 0001-udev-default-to-a-trackpoint-range-of-160-for-the-ne.patch,
|
||||
0002-udev-support-firmware-detection-for-pointing-sticks.patch
|
||||
(upstreamed)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 1 10:24:50 UTC 2018 - mwilck@suse.com
|
||||
|
||||
@ -10,7 +45,7 @@ Wed May 30 07:57:31 UTC 2018 - mwilck@suse.com
|
||||
|
||||
- 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 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
|
||||
|
||||
@ -774,7 +809,7 @@ Fri Aug 21 08:34:34 UTC 2015 - zaitor@opensuse.org
|
||||
* The most obvious fix is that natural scrolling now also works
|
||||
for edge scrolling. The threshold needed to trigger scrolling
|
||||
on a touchpad was reduced to 2mm in 0.21 but a bug prevented
|
||||
that from activating until 5mm movement was hit.
|
||||
that from activating until 5mm movement was hit.
|
||||
* Touchpad scrolling now uses unaccelerated motion data. This
|
||||
provides better behavior for short consecutive scroll motions
|
||||
and a better 1:1 mapping between finger and content, especially
|
||||
@ -822,22 +857,22 @@ Tue Aug 4 16:35:20 UTC 2015 - zaitor@opensuse.org
|
||||
Sat Jul 18 08:28:06 UTC 2015 - tittiatcoke@gmail.com
|
||||
|
||||
- Update to version 0.20.0:
|
||||
* The big new addition in this release is support for touchpad
|
||||
gestures. Two types of gestures are supported: swipe and pinch.
|
||||
* The big new addition in this release is support for touchpad
|
||||
gestures. Two types of gestures are supported: swipe and pinch.
|
||||
Swipe is triggered by a movement of 3+ fingers in the same
|
||||
direction, pinch is triggered by two fingers moving towards or
|
||||
direction, pinch is triggered by two fingers moving towards or
|
||||
away from each other and/or a rotation around a logical center.
|
||||
Both gestures, once triggered, can move around the touchpad,
|
||||
making it possible to use them for fine-grained motion.
|
||||
* Edge scrolling is now possible on clickpads too and thus available
|
||||
on all touchpads. Thumb detection was added, it is now possible
|
||||
to rest the thumb on a clickpad while moving a pointer without
|
||||
Both gestures, once triggered, can move around the touchpad,
|
||||
making it possible to use them for fine-grained motion.
|
||||
* Edge scrolling is now possible on clickpads too and thus available
|
||||
on all touchpads. Thumb detection was added, it is now possible
|
||||
to rest the thumb on a clickpad while moving a pointer without
|
||||
interference
|
||||
* libinput now requires touchpads to have a resolution. If the
|
||||
kernel device does not set it and none of the hwdb rules do either,
|
||||
libinput assigns a default resolution to the device. This may have
|
||||
an effect on your touchpad, please file a bug if you notice
|
||||
anything untoward. On the positive side it removes the magic
|
||||
* libinput now requires touchpads to have a resolution. If the
|
||||
kernel device does not set it and none of the hwdb rules do either,
|
||||
libinput assigns a default resolution to the device. This may have
|
||||
an effect on your touchpad, please file a bug if you notice
|
||||
anything untoward. On the positive side it removes the magic
|
||||
numbers sprinkled through the code
|
||||
|
||||
-------------------------------------------------------------------
|
||||
@ -969,18 +1004,18 @@ Wed Apr 22 14:37:33 UTC 2015 - zaitor@opensuse.org
|
||||
Wed Apr 8 19:46:59 UTC 2015 - mpluskal@suse.com
|
||||
|
||||
- Update to 0.13.0
|
||||
* No API changes were merged in this release, the ABI is
|
||||
* No API changes were merged in this release, the ABI is
|
||||
compatible with 0.12.0.
|
||||
* The tap motion threshold is now a fixed distance on all
|
||||
touchpads (withphysical resolution). This stops the delay in
|
||||
pointer motion seen on some devices.
|
||||
* The edge scrolling motion threshold now accumulates, so even a
|
||||
* The tap motion threshold is now a fixed distance on all
|
||||
touchpads (withphysical resolution). This stops the delay in
|
||||
pointer motion seen on some devices.
|
||||
* The edge scrolling motion threshold now accumulates, so even a
|
||||
slow scroll will eventually trigger edge scrolling.
|
||||
* The velocity calculation on slow movements was fixed, this
|
||||
should provide a slightly more responsive and accurate
|
||||
* The velocity calculation on slow movements was fixed, this
|
||||
should provide a slightly more responsive and accurate
|
||||
touchpad motion, especially on direction changes.
|
||||
* To ease development, libinput will now print warnings when a
|
||||
caller does wrong event conversions (e.g. requesting a touch
|
||||
* To ease development, libinput will now print warnings when a
|
||||
caller does wrong event conversions (e.g. requesting a touch
|
||||
event when the event is a pointer event, etc.).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
Name: libinput
|
||||
%define lname libinput10
|
||||
Version: 1.10.7
|
||||
Version: 1.11.0
|
||||
Release: 0
|
||||
Summary: Input device and event processing library
|
||||
License: MIT
|
||||
@ -38,8 +38,6 @@ Source3: baselibs.conf
|
||||
Source4: %name.keyring
|
||||
Source5: libinput-rpmlintrc
|
||||
Patch1: kill-env.diff
|
||||
Patch2: 0001-udev-support-firmware-detection-for-pointing-sticks.patch
|
||||
Patch3: 0002-udev-default-to-a-trackpoint-range-of-160-for-the-ne.patch
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
@ -139,26 +137,8 @@ to develop applications that require libinput.
|
||||
|
||||
%files tools
|
||||
%_bindir/libinput
|
||||
%_bindir/libinput-debug-events
|
||||
%_bindir/libinput-list-devices
|
||||
%dir %_libexecdir/libinput
|
||||
%_libexecdir/libinput/libinput-debug-events
|
||||
%_libexecdir/libinput/libinput-debug-gui
|
||||
%_libexecdir/libinput/libinput-list-devices
|
||||
%_libexecdir/libinput/libinput-measure
|
||||
%_libexecdir/libinput/libinput-measure-touch-size
|
||||
%_libexecdir/libinput/libinput-measure-touchpad-pressure
|
||||
%_libexecdir/libinput/libinput-measure-touchpad-tap
|
||||
%_libexecdir/libinput/libinput-measure-trackpoint-range
|
||||
%_mandir/man1/libinput-measure-touch-size.1%{?ext_man}
|
||||
%_mandir/man1/libinput-debug-events.1%{?ext_man}
|
||||
%_mandir/man1/libinput-debug-gui.1%{?ext_man}
|
||||
%_mandir/man1/libinput-list-devices.1%{?ext_man}
|
||||
%_mandir/man1/libinput-measure-touchpad-pressure.1%{?ext_man}
|
||||
%_mandir/man1/libinput-measure-touchpad-tap.1%{?ext_man}
|
||||
%_mandir/man1/libinput-measure-trackpoint-range.1%{?ext_man}
|
||||
%_mandir/man1/libinput-measure.1%{?ext_man}
|
||||
%_mandir/man1/libinput.1%{?ext_man}
|
||||
%_libexecdir/libinput/
|
||||
%_mandir/man1/*
|
||||
|
||||
%files devel
|
||||
%_includedir/%name/
|
||||
|
Loading…
Reference in New Issue
Block a user