libinput 1.31.901

1.31.901

libinput 1.32rc1

Added 5
  • Circular scrolling method for circular touchpads, enabling vertical scrolling by moving the finger in a circular motion (currently available on the Panasonic CF-SV1)
  • Automatic drag lock when a drag is released with the finger near the edge of the touchpad, allowing the finger to be repositioned and the drag to continue
  • libinput record --no-events flag to output only the device description
  • Support for Elan haptic touchpad 04F3:3355
  • Support for Goodix haptic touchpad 27C6:0F90
Changed 5
  • Disable-while-typing no longer cancels ongoing touchpad interactions such as moving, dragging, scrolling or gesturing when a key is pressed
  • Tablet eraser button can now be mapped to any button
  • Tablet touch arbitration rectangle covers a larger area to reduce the impact of accidental touches
  • libinput record --autorestart no longer requires a log file name and generates one automatically
  • Internal versus external device detection now uses udev's ID_INTEGRATION property (systemd v260) instead of libinput quirks
Fixed 12
  • Usec computation on 32-bit systems
  • Unsanitized input could be returned by str_sanitize
  • Eraser button default mode and button return values in tablet code
  • Swapped strstartswith arguments in libinput tools find_device()
  • Pencil tablet tool type reported incorrectly by libinput-record
  • DMI modalias always reported as unknown due to swapped fread arguments in libinput tools

From libinput

libinput 1.32-rc1 is now available.

The biggest new feature is circular scrolling on circular touchpads. These touchpads are usually quite small and edge or 2-finger scrolling doesn't work well. Circular scrolling enables the user to move the finger in a circular motion to vertically scroll. This feature is currenly only available on the Panasonic CF-SV1 but we expect other circular touchpads to be added over time.

For touchpad, we also have a few new convenience features. Dragging on a touchpad automatically enables a drag lock if the finger near the edge. This allows users to quickly reset the finger and continuing the drag - useful for drags that cover larger distances.

Also on touchpads, disable-while-typing no longer cancels ongoing interactions. Previously typing while moving/dragging/scrolling/gesturing would interrupt that activity and pause the touchpad interaction. We now have heuristics in place to detect intentional gestures (e.g. dragging or an extended pointer motion), pressing a key even with dwt enabled does not pause the touchpad.

On the tablet side, we now allow the physical eraser button to be mapped to any button (this was backported to 1.31.3 too). The touch arbitration rectangle now covers a larger area which should make accidental touches less problematic.

On the tools side we also had a few convenience features, libinput record now allows a --no-events flag to get just the device description. And the --autorestart feature no longer requires a log file name, it'll just make one up.

As an internal feature, we use the new udev's ID_INTEGRATION (systemd v260) to tell us whether a device is internal or external. This means fewer quirks are required in libinput as we now get this information from the system.

Finally, the usual assortment of device-specific quirks.

Many thanks to our contributors Andrew Jordan, Artem Proskurnev, BBaoVanC, David Santamaría Rogado, Dirk Su, Freeman Zhang, GKraats, Ilya Kamenko, Josiah Vehrs, Marcin Jahn, Mikio L. Braun, Mingcong Bai, Peter Hutterer, Quentin Thébault, Richie Roy Jayme, Rémi Labeyrie, Sicelo A. Mhlongo, Stephanie Wilde-Hobbs, Volker Schlecht, Yassine MILED and kk1987.

As usual, the git shortlog is below:

Andrew Jordan (1):
      quirks: add PixArt 093A:4811 haptic touchpad

Artem Proskurnev (1):
      quirks: add quirk for the Wareus B15

BBaoVanC (1):
      quirks/apple: Add AttrSizeHint to Magic Trackpad USB-C

David Santamaría Rogado (8):
      doc: list-quirks should be quirks list
      quirks: microsoft surface keyboard event BTN_0
      quirks: hp omnibook ultra flip 14 improve rule set
      quirks: hp omnibook ultra flip 14 touch pressure
      quirks: add some more goodix haptic touchpads
      evdev: use udev's ID_INTEGRATION
      test: set ID_INTEGRATION into test devices
      quirks: add positivo vaio fe15 right button

Dirk Su (1):
      quirks: add HP haptic touchpad quirk

Freeman Zhang (2):
      Add Elan haptic touchpad 04F3:3355 support
      Add Goodix haptic touchpad 27C6:0F90 support

GKraats (1):
      util: fix usec computation on 32 bits

Ilya Kamenko (1):
      Fold hold-to-scroll into existing scroll button lock mode

Josiah Vehrs (1):
      util: fix possible return of unsanitized input in str_sanitize

Marcin Jahn (1):
      quirks: add clevetura clvx s touchpad quirk

Mikio L. Braun (1):
      touchpad: add circular scroll method for round touchpads

Mingcong Bai (2):
      quirks: add Goodix pressure pad quirk for 27C6:01E7
      quirks: disable touchpad-edge volume/brightness sliders on EAECIS NL60R

Peter Hutterer (84):
      tablet: fix missing linebreak after an error message
      Fix the evdev_usage_is_button check for the BTN_STYLUS group
      tablet: allow for the eraser button to be any button
      tools: add --compress-motion-events to the man page and zsh completion
      meson.build: explicitly convert a boolean to string
      tablet: fix eraser button get_default_mode/get_default_button return values
      tools: fix swapped strstartswith arguments in find_device()
      tools: fix pencil tablet tool type in libinput-record
      tools: fix swapped fread arguments causing DMI modalias to always be "unknown"
      tools: fix missing fd assignment in libinput-debug-tablet
      tools: Remove dead eraser_button_button initialization to BTN_STYLUS
      test: add missing button state assertion for eraser button release
      tools: fix leak of evdev_prev in libinput-record
      tools/record: fix delta times not being relative
      evdev: store the SYN_REPORT value in the frame
      Fix various typos
      evdev: fix rel axis disabling on accelerometers
      util: fix remaininig usec computation on 32 bits
      tools/debug-tablet: switch an snprintf to strvs
      doc/user: document sticky vs timeout based drag lock a bit better
      test: change where our finger ends up before releasing
      touchpad: support automatic drag-lock when releasing at the edge
      lua: separate the API from the metatables
      lua: force text mode for loading plugins
      quirks: add missing modification warning to a quirks file
      plugin: guard against unsigned underflow in plugin_has_mask
      util: check for NULL on realloc in _infmask_ensure_size
      util: use snprintf for PID formatting in backtrace helper
      tablet-pad: use strdup_printf in sysfs path construction
      util: use zalloc in stringbuf
      tablet: extend touch arbitration rect to cover full tablet height
      touchpad: time the 3fg fast swipe timeout from the initial contact
      doc: fix reference to non-existent 'hold update' event in gestures.rst
      doc: fix simplified hold gesture table in gestures.rst
      doc: fix typos and misspellings across documentation
      doc: fix ClickPad scroll method description in scrolling.rst
      doc: fix libinput replay output format in tools.rst
      doc: update multi-device recording docs, --multiple is deprecated
      doc: remove ID_INPUT from lua plugin udev properties list
      doc: add HOLD_END to libinput_event_gesture_get_cancelled() doc
      doc/user: add an illustration of the touch arbitration rectangle
      util: allow for 'e' in safe_atod strings
      touchpad: replace sprintf strv_join in the touch state debugging
      util: use lstat() instead of stat() in rmdir_r to prevent symlink attacks
      plugin: use safe_strdup() instead of strdup()
      udev: use xclose() instead of close()
      tools/ptraccel-debug: replace atoi() with safe_atoi()
      tools/debug-tablet-pad: add bounds checks for array accesses
      tools: use save_atod instead of atof()
      tools/record: fix missing NULL check on tmpfile() return value
      tools: Use xclose() over close()
      tools: guard against zero-length os-release files
      tools: always open with O_CLOEXEC
      tools/debug-tablet: guard against open() failures
      tools: update the tool option parsing test for newer options
      util: add a free_clear() helper to reset after free
      tools/debug-tablet: don't leak the udev_device on open() failure
      tools: another close() -> xclose change
      util: allow for uppercase 'E' in safe_atod strings too
      pre-commit: check for merge conflicts too
      tools/record: replace the timestamp with usec_t
      tools/record: default to libinput-recording.yml with --autorestart
      tools/record: fix broken autorestart for timeouts >=5s
      touchpad: fix the libwacom_is_reversible() check on the paired device
      tools: update the libinput record man page for the latest changes
      tools/record: defer file creation until events arrive in autorestart mode
      Add SECURITY.md directing to confidential GitLab issues
      totem: require both touch size axes to have resolution
      evdev: be stricter about devices with odd absinfo values
      pad: ignore invalid strip axis values
      util: sanitize control characters in str_sanitize()
      tools: sanitize device names in libinput-record YAML output
      libinput-device-group: sanitize phys before printing it
      tablet: fix a compiler warning for an unused variable
      quirks: add keyboard integration for Acer Nitro ANV16-42
      tools/measure-fuzz: don't compare against the function itself
      touchpad: don't trigger dwt for ongoing gestures/drags/scrolls
      touchpad: don't trigger dwt for ongoing pointer motion
      test: return LITEST_NOT_APPLICABLE from gesture test helpers
      touchpad: re-use a helper function
      quirks: Add a touchpad quirk for the Positivo Master N8460
      tools/record: add support for --no-events
      Ruff fixes for ruff 0.16
      libinput 1.31.901

Quentin Thébault (1):
      evdev: verify fd via cached devnum on FreeBSD

Richie Roy Jayme (1):
      quirks: add support for Goodix touchpad GXTP5400:00 27C6:0F96

Rémi Labeyrie (1):
      quirks: ignore the tool type axis on the Lenovo P14s Gen 6 touchpad

Sicelo A. Mhlongo (1):
      doc/user: document keypad slide switch support

Stephanie Wilde-Hobbs (1):
      quirks: Lenovo ThinkPad X1 Tablet Gen 3

Volker Schlecht (2):
      use FreeBSD's input.h for NetBSD and OpenBSD as well
      Fall back to plain strtod(3) on NetBSD and OpenBSD

Yassine MILED (1):
      quirks: add pressure range for PixArt 093A:200F

kk1987 (1):
      touchpad: sync the slot's tool type when syncing touch state
View original

Upgraded? How did it go?

Discussion