[ANNOUNCE] libinput 0.19.0

Peter Hutterer peter.hutterer at who-t.net
Sun Jul 5 20:12:17 PDT 2015


A new release of libinput, 0.19.0, is now available. 

The biggest change in this release is improved pointer acceleration code.
Previously, slow movements were decelerated. Of course,
this means the slower you move the mouse, the further you have to actually
move it to move the pointer by one pixel. While this enhances precision, 
the parameters on that weren't ideal and made for awkward interaction. 
After a bit of fine-tuning the deceleration curve is now a narrower and
steeper, i.e. we decelerate only on really slow movements, when we need the
precision. For anything resembling normal motion the pointer response is
effectively 1:1, making the cursor respond nicely to your mouse movement.

Low-dpi devices had a bug where they would skip pixels for small movements.
This was caused by the pointer normalization to 1000dpi. Devices with a
native resolution below 1000dpi now have their own acceleration curve,
providing much better behaviour.

The side-effect of this is that we had to drop the pretense of normalization
to 1000dpi. The documentation has been adjusted, and while it could be
considered an API change I decided not to mark it as one. The only time
you'd be affected by this is if you used the data coming out of libinput to
measure physical distance. Everyone else already took the coordinates as-is.

The second side-effect is that the unaccelerated data is now closer (or
equal) to the device native resolution. So callers using the unaccelerated
motion (e.g. games) will get the benefit of the high-res mice while the
normal accelerated pointer motion itself remains consistent across devices.


The second user-visible change is disabling of tap drag-lock by default. A
new config API triplett is available to enable it:
  libinput_device_config_tap_set_drag_lock_enabled
  libinput_device_config_tap_get_drag_lock_enabled
  libinput_device_config_tap_get_default_drag_lock_enabled

Other fixes include better responsiveness of the touchpad when switching
from the trackpoint to the touchpad and a smaller edge scroll motion
threshold. And of course the usual bugfixes.
    
As usual, the git shortlog is below.


Gilles Dartiguelongue (1):
      Add missing includes for *stat

Peter Hutterer (51):
      tools: drop superfluous linebreaks in ptraccel-debug
      Extend CODING_STYLE with the if/else requirements
      udev: prepend the libinput group with the product string
      test: replace tap config with helper function
      Add configuration interface for tap drag-lock
      touchpad: hook up drag lock configuration
      tools: hook up drag lock config
      test: add non-draglock test and rename draglock-dependent tests
      touchpad: only send most recent edge delta when triggering threshold
      touchpad: reduce edge scroll motion threshold to 3mm
      Fix an indentation issue
      tools: remove obsolete comments
      tools: move the interface into the shared code
      tools: pass a context around as userdata
      tools: add --grab option
      touchpad: fix stuck finger after a click
      Add a debug_trace() macro for easier debugging
      evdev: store the device dimensions
      evdev: read dpi before evdev_configure_device
      evdev: log device's DPI setting if any
      evdev: move posting a trackpoint scroll event into a helper
      tools: don't drop the accelerated deltas in ptraccel-debug
      filter: use a tmp variable for the accel factor
      Add missing @ingroup tag to the logging priority enum
      touchpad: disable tap drag lock by default
      Add missing copyright header to the udev callout
      test: group the parser tests together
      evdev: evdev_fix_abs_resolution can be static
      test: increase the udev init timeout
      touchpad: move trackpoint timer stuff into the palm struct
      touchpad: always set touch->palm.time on touch begin
      touchpad: improve trackpoint palm detection responsiveness
      touchpad: disable trackpoint palm detection on small touchpads
      test: add the warning to the rules file too
      udev: make a note that hwdb matches are exclusive
      filter: reduce deceleration to minimal speeds only
      Drop motion normalization of unaccelerated deltas
      test: add a low-dpi mouse test device
      filter: pass the DPI to the acceleration filter
      tools: add --dpi= arg to ptraccel-debug
      filter: add a custom low-dpi acceleration
      test: wait for the uinput_monitor on test devices
      test: up the default test timeout to 10s
      test: use poll instead of a busy wait
      test: add some tests for udev tagging
      test: send a single motion event for relative tests only
      test: add a test for minimum motion movement
      test: add a test for 0/0 relative motion events
      Add missing "global" tag to the 0.19 symbol block
      test: initialize syspath
      configure.ac: libinput 0.19.0

git tag: 0.19.0

http://www.freedesktop.org/software/libinput/libinput-0.19.0.tar.xz
MD5:  ddb2c98687c2b9766a9757fd6ec90753  libinput-0.19.0.tar.xz
SHA1: 916ab71e5af46167510c556519804bc20dee98a7  libinput-0.19.0.tar.xz
SHA256: 69a97da47ef8fa9debadaa8ee11005b9b5183bd2b87c5aa7827b7c388a5acc5d  libinput-0.19.0.tar.xz
PGP:  http://www.freedesktop.org/software/libinput/libinput-0.19.0.tar.xz.sig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20150706/1a2fbdda/attachment.sig>


More information about the wayland-devel mailing list