38 Commits

Author SHA1 Message Date
Daniel Golle
93a466adb0 libinput: update to 1.28.1
Collected release notes since version 1.26.2:

libinput 1.28.1 is now available.

This release fixes two regressions:

    After unplugging and re-plugging a tablet device, proximity events
    toggled the tip on/off due to an uninitialized (== zero) pressure
    range. Repeatedly unplugging also eventually triggered an bug
    notification.

    libinput debug-events failed to print pinch angle and rotation

And because the commits were already sitting on the branch, also
included is fixed handling of the tablet pad mode toggle buttons.
Instead of the previous heuristics we now let this be handled by
libwacom 2.15 (if available). Only three tablet devices have those
buttons and they're all getting old, so this is unlikely to affect a lot
of users.

libinput 1.28.0 is now available.

The big new feature in this release is three-finger drag for touchpads.
When enabled three fingers down on the touchpad will logically hold the
left mouse button down, any movement of the fingers then moves the
pointer for a drag. For some users this is a more precise and
easier-to-trigger interaction than e.g. tap-and-drag.

On tablets the pressure range is now correctly tracked per tablet.
Previously moving the same physical stylus between two tablets with
different pressure ranges caused the stylus to send incorrect pressure
data.

And then we have of course the usual collection of bug fixes and
device-specific quirks.

libinput 1.27.1 is now available.

This release fixes two regressions in the gesture state handling
introduced in 1.27.

It also removes an assert triggered by a finger count mismatch. That can
be triggered by a still-unclear-but-niche race condition. The assert
wasn't required for functionality so we simply skip over the issue now.

libinput replay has a slightly new output format and now supports Ctrl+C
to stop the currently replaying event sequence.

And then we have of course the usual collection of bug fixes and
device-specific quirks.

libinput debug-events --help and libinput debug-gui --help now print all
available configuration options too.

libinput 1.27 is now available.

In terms of new features we have a "sticky" mode for drag-locking.
Previously a tap-and-drag lock would always expire after a timeout, now
the button is held logically down until a completing tap. Desktop
environments are encouraged to use this as the default as it provides a
better experience for anyone with less-than-perfect dexterity. For
backwards-compatibility reasons libinput cannot easily change its
defaults without risking bugs in the callers.

For tablet pads we now support tablet pad mode groups for devices
without status LEDs as well, the previous implementation was tied to
LEDs which some devices like the XP Pen ACK05 remote don't have. Since
the mode is a software feature anyway tying it to LEDs is not necessary.

If a tablet is unknown to libwacom we now assume that it is a built-in
tablet. This matches the behavior of libwacom 2.11 but in our case the
only visible result is that the device now has the calibration
configuration available. Better to have it and not use it, as they say.

The available area on external tablets can be reduced via the new tablet
"area" configuration. Users can set a rectangle smaller than the
width/height of the tablet and input outside this rectangle will be
ignored.

For packagers: the check dependency is now optional, almost all tests
can now run without it.

And then we have of course the usual collection of bug fixes and
device-specific quirks.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2025-04-26 16:55:11 +01:00
Daniel Golle
4535470a12 libinput: update to 1.26.2 and add support for libwacom
Changes since 1.25.0:
 cf1c07e0 Add a helper for radians to degrees
 c5f808ac test: debug print the events we're draining
 8603584e test: set pressure to zero on proxout for the tablets with forced prox out
 2218da2f test: fix a wrong value for the auto-assigned BTN_TOOL
 8bb53150 tablet: handle BTN_STYLUS3
 f20eefbc Revert "tablet: fix the pressure offset range being off by one"
 72eca2db util: add a helper to normalize an axis to [0.0, 1.0]
 0322403e tablet: fix tilt handling for even-ranged tablets
 7cffd28e tablet: don't use absinfo_range for the percentage calculation
 54aa01a2 tablet: move tool creation into a helper function
 47f0bce7 tablet: document a known bug about pressure thresholds across tablets
 4bc27543 tablet: add tablet tool pressure range configuration
 1788d352 Update 50-system-lenovo.quirks to fix X201t tablet buttons
 049beea4 triage-policies: add a bugbot command to close issue in favour of an MR
 8079a51b doc/user: note the requirement to apply for gitlab fork permissions
 8b932841 quirks: Add Lenovo's Ideapad Gaming 3 white backlit keyboard as an internal keyboard
 f46d45a5 doc: drop permissions to 644 for the gesture state machine SVG
 83d780e5 Added quirks for TongFang/Uniwill touchpad and ITE keyboard
 18d1d4fd quirks: tighten the match for the Graviton N15i touchpad
 0d7b281f doc: fix end-of-file in the state machine SVG
 566857bd Recognizing Framework 16 keyboard modules as internal keyboards
 d487ca36 test: only expect one button event from the intuos-like test
 beca9981 tablet: add API for relative dials
 399ba5e0 CI: only check the MR if we're in a merge request pipeline
 b5b825a7 doc/user: Document "Closes" and "Fixes" tags
 7ac26ed9 CONTRIBUTING: Add CONTRIBUTING.md
 a43f1edb Add libinput_device_get_id_bustype()
 bee06c10 quirks: add quirk for Dell Precision 5480 touchpad
 6faab3a1 Add quirk for the Legion Slim 7 Gen 8 keyboard
 15609213 touchpad: disable the immediate scroll state if tapping is enabled
 bf061ad1 quirks: Add a the onebutton apple touchpad quirk for an old MacBook
 30189568 tools: fix two black warnings
 3a935507 ci: bump to Fedora 39 and FreeBSD to 13.2
 4935e526 util: add a LIST_INIT macro
 36443726 test: add helpers for checking (negative) errnos
 9c691524 Move mkdir_p into a utility header
 d6e54c35 util: fix error in mkdir_p if a parent directory fails to be created
 30c6d598 test: add two more more libinput_dispatch() calls
 c775c231 test: slightly increase the finger switch timeout wait
 34f86489 Revert "test: allow for substring matching in the various --filter- arguments"
 09b59e42 test: fix some tests that may cause pointer jumps
 bb1b1304 test: fix two wrong timeout calls
 02d01a53 util: slightly improve the trace() macro
 3d246ef2 test: remove a workaround for libevdev 1.2 and earlier
 47f94633 test: remove some old compat code for kernel<4.5
 4d9b25b2 test: force the apple magicmouse to 1000dpi
 74f69dc9 test: replace an assert with double_ge
 f6a1f264 sparse: make some variables static
 1d5d45a2 touchpad: use boolean operator for booleans
 46d1fff0 touchpad: add clickfinger button map
 955158f9 fix: unnecessary braces and mistake in doc
 a8acd4a6 quirks: add quirk for Lenovo Legion keyboard 048d:c103
 c5b732cc pad: rename two helper functions
 ba761664 pad: implement strip support for non-Wacom tablets
 aebd8116 quirks: add quirk for RazerBladeAdvancedLate2019
 ed9570df quirks: increase MacBook touchpad AttrPalmSizeThreshold
 7c91e353 Add definitions for LIBINPUT_LED_COMPOSE and LIBINPUT_LED_KANA
 a191a46a Include COMPOSE and KANA keys in tests
 ace22ad0 gitlab CI: don't run MR pipelines in forks
 857780ed Ring positions increase clockwise
 0c347a97 quirks: add quirk for HP Haptics Touchpad.
 7c87d3e6 Add support for Matebook X Pro 2024 Touchpad
 430c1b89 CI: bump to Fedora 40
 5f1b4637 quirks: fix end-of-file in 50-system-huawei.quirks
 a2515fc3 evdev: log the right mouse wheel angle
 e7499aeb added quirks for Thinkpad X390 Yoga's trackpoint
 e8027157 quirks: lenovo: mark Lenovo 16ARX8 keyboard as internal
 fe317574 evdev: don't return a size for 0-1 axes
 f1792dec quirks: add a default resolution for Huion devices
 fdb693a6 tools/record: record the DRIVER property in the recording
 e72ee0b1 pre-commit: ignore subprojects for ruff and black
 a2f0cc35 quirks: add support for Uniq matching
 98ba56fb libinput 1.26.0
 9267147e Fix @since tags for the pressure range configuration
 1725b7d6 Add support for --set-pressure-range to the debugging tools
 4548a375 tools: actually parse options in libinput-debug-tablets
 97284211 doc/api: link to a few tablet configuration settings
 78cb25c2 Whitespace fix
 4333845e tools/debug-gui: draw the evdev x/y axis with the right color
 be78ce12 gitlab-triage: add bugbot hook for closing stale needinfo bugs
 82322a4c doc/user: document the device quirk MatchFoo statements
 8326f71d touchpad: special-case shift as modifier for dwt
 99647b71 tools: add libinput analyze buttons for button state analysis
 1f8b48df quirks: add quirk for the RazerBlade142023 Keyboard
 41a4b128 tablet: rework a helper function to be more reusable
 978676be tablet: allow calibration if libwacom says our tablet is a display tablet
 1b7992c3 tools: add support for setting the calibration matrix
 98914048 gitlab-triage: add a needinfo reminder blurb
 436bb5cc test: fix the pad dial test, values need to be equal, not >=
 6fee92c9 pad: switch the REL_WHEEL direction to match dials with scroll wheels
 124431a5 libinput 1.26.1
 951ab12a Fix typo in documentation comment
 c201be9b doc/user: document ModelTouchpadPhantomClicks quirk
 269875aa quirks: add quirk for the LG gram 14 2023 Touchpad
 c4f57bbc quirks: add quirk for the Minisforum V3 volume keys
 6f19267c doc/user: fix a typo
 2135b4a6 quirks: add quirk for Minisforum V3 touchpad dwt
 66106b97 tablet: Remove unnecessary scale factor on REL_HWHEEL_HI_RES
 3402f380 libinput 1.26.2

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2024-11-26 00:48:54 +00:00
Robert Marko
272f55e87f treewide: refresh hashes after move to use ZSTD as default
With the recent move to using ZSTD as the default compression format
for packaging git repo clones we must refresh all of the hashes for
the packages feed as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2024-04-07 12:06:34 +02:00
krant
c05d63be59 libinput: update to 1.25.0
- Switch sources to git since no proper tarball is available
- Switch URL to HTTPS
- Don't set default Meson options

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
2024-02-07 13:56:11 -08:00
Fabrice Fontaine
17d25745ba libs/libinput: assign PKG_CPE_ID
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:freedesktop:libinput

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-01-29 15:59:32 -08:00
Paul Fertser
0c10c224be treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 22:46:58 +02:00
Daniel Golle
b95dbe4187 libinput: update to version 1.19.4
This release includes a fix for CVE-2022-1215, a format string
vulnerabilty in the evdev device handling. For details, see
https://gitlab.freedesktop.org/libinput/libinput/-/issues/752

Peter Hutterer (2):
      evdev: strip the device name of format directives
      libinput 1.19.4

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-09-07 22:56:46 +01:00
Rosen Penev
df5d7245b9 treewide: remove PKG_INSTALL for meson projects
It doesn't seem to be used by meson.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2022-06-15 18:07:46 -07:00
Daniel Golle
23638c7ffb libinput: update to 1.19.3
ed79e4fa quirks: changes touchpad pressure Lenovo Yoga 2 Pro
 797a66c1 doc/user: fix broken link to "Observations on trackpoint input data"
 7db2a339 quirks: add ModelBouncingKeys for A4Tech X-710BK Mouse
 5e7bae44 quirks: Dell 15R touchpad settings for firmware v3
 54275910 gestures: cancel hold gestures on thumb detection
 033aee76 doc/user: fix broken link to systemd 60-evdev.hwdb

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2022-03-18 23:47:14 +00:00
Daniel Golle
23ac7563c2 libinput: update to version 1.19.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-11-15 02:16:47 +00:00
Daniel Golle
e852f509cf libinput: update to version 1.19.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-10-09 17:02:58 +01:00
Rosen Penev
5ccd4d1c25 treewide: compile with tools/meson
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-09-17 22:06:52 -07:00
Daniel Golle
f53cd4232a libinput: package libinput cli applets and quriks
Also package /usr/libexec/libinput/* and /usr/share/lib/input/*.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-21 18:40:34 +01:00
Daniel Golle
112e5628f4 libinput: update to version 1.18.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-08-01 04:15:03 +01:00
Daniel Golle
81ccb88a80 libinput: update to version 1.17.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-04-29 00:59:15 +01:00
Daniel Golle
a6223b5813 libinput: update to version 1.16.4
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2021-01-15 01:20:58 +00:00
Daniel Golle
cf8592d66a libinput: update to version 1.16.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-08 21:19:44 +00:00
Rosen Penev
881aa28fa1 treewide: turn specific libudev-* DEPENDS to generic ones
libudev-zero as well as libudev-fbsd have PROVIDES:=libudev . These
packages have nothing specific that requires one or the other.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-03 12:38:12 +00:00
Daniel Golle
f3a4ca5916 libinput: update to version 1.16.2
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-10-16 00:14:31 +01:00
Rosen Penev
6492dce788 libinput: update to 1.16.1
Makes several files explicit in Install sections.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-09-03 13:58:50 -07:00
Rosen Penev
509ff35712 libinput: update to 1.15.5
Converted to meson for speed.

Removed all patches. The issues have all been fixed upstream.

Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-04-22 14:40:41 -07:00
Rosen Penev
671f0363a4 libinput: Add missing header to fix compilation
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-02-12 12:36:07 -08:00
Daniel Golle
cd79492ae2 libinput: update to version 1.7.3 and use libudev-fbsd
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-19 01:33:32 +02:00
Daniel Golle
5bf5206f4e libinput: update to version 1.3.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-06-14 01:56:07 +02:00
Daniel Golle
ba3dd96ff1 libinput: depend on libudev
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-06-14 01:48:12 +02:00
Daniel Golle
eb79dd7ad2 libinput: update to version 1.2.3
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-04-19 14:04:51 +02:00
Michael Heimpold
e0aad338b7 libinput: fix and optimize build
Buildbots are reporting the following build failure:

-snip-
  CCLD     test-build-linker
../src/.libs/libinput.so: undefined reference to `static_assert'
-snap-

Since this is the only call to static_assert within the library,
removing this assertion seems to be reasonable.

While at, speed up the build by not building tests and documentation.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2016-03-23 21:32:16 +01:00
Daniel Golle
4930998e8e libinput: update to version 1.2.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-03-09 09:30:41 +01:00
Daniel Golle
5e9ab7e605 libinput: update to version 1.1.7
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-02-10 21:33:03 +02:00
Daniel Golle
07ccb3c1d9 libinput: depend on eudev
udev was removed, depend on eudev to provide libudev.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-02-10 19:00:53 +02:00
Daniel Golle
e53a511b68 libinput: include cmdline tools in package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-01-14 01:24:02 +01:00
Daniel Golle
2781b83eef libinput: update to 1.1.4
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-01-14 01:24:02 +01:00
Daniel Golle
970a850ca0 libinput: update to 1.1.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-12-03 01:25:11 +01:00
Daniel Golle
9ddf3ded77 libinput: update to version 1.0.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-09-07 20:02:49 +02:00
Daniel Golle
0bb0084691 libinput: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-08-13 10:47:22 +02:00
Daniel Golle
350c6fc875 libinput: update to 0.20.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-07-20 00:27:01 +02:00
Daniel Golle
9b77833a7b libinput: update source
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-28 19:09:35 +02:00
Daniel Golle
ca738e067b libinput: new package
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-10 18:17:48 +02:00