[ANNOUNCE] libinput 1.7.0

Peter Hutterer peter.hutterer at who-t.net
Wed Mar 22 23:56:42 UTC 2017


libinput 1.7 is now available. Only one change that matters since the last
rc: cyapa touchpads now have a custom pressure ranage. The rest below is a
(slightly edited) copy of the rc1 announce email so you know what you get
updating from 1.6 to 1.7.

First big feature: James Ye implemented support for switches, in particular
lid switches. Closing the lid now disables the touchpad to avoid ghost
touches but it also makes the lid switch event itself available to any
callers. This is a new interface announced by the LIBINPUT_DEVICE_CAP_SWITCH
capability, see the documentation for more info:
https://wayland.freedesktop.org/libinput/doc/latest/group__event__switch.html

Touchpads now use pressure values to detect touches instead of relying on
BTN_TOUCH. This enables us to have per-device pressure values where needed
to avoid misdetection of light or hovering touches. For now most touchpads
use the default pressure vaules, if you have had issues with touch
misdetection please file a bug with the required pressure ranges. As usual,
this feature is device-dependent so not all touchpads will use pressure
values.

Wheel tilt events are now handled as such provided the device is correctly
labelled by the hwdb. A wheel tilt will not be advertised as scroll source
'wheel' but rather 'wheel tilt', making it possible to different between the
two in the caller.

Middle mouse button emulation is now compatible with scroll wheel emulation,
i.e. it is possible to set scroll wheel emulation on the right mouse button
and still enjoy middle button emulation. This is useful mostly on very old
mice and some trackballs.

On the topic of scroll wheel emulation: pressing the scroll button now
always generates a button event (provided now scrolling was triggered).
Previously this depended on an internal timeout which was hard to predict
for users. Of course, if any scrolling is triggered while the button is
down, no button events are sent.

Tablet pad LEDs now hook up correctly to the new kernel LED implementation
available in v4.9 and later. Pressing the respective mode button will thus
toggle pad modes in the events correctly.

Internal cleanup work touched most of libinput. And a gcov run exposed
some untested code paths and a lot of tests have been added for those.
External touchpad-keyboard combos can now be marked with a udev property to
ensure we enable disable-while-typing on the correct devices.

Finally, the libinput-debug-events tool now uses colours and hides keycodes
by default. It's now safe to run it in the background to record events
without having to worry that passwords end up in the log. If you do need the
keycodes, run with the --show-keycodes argument.

As usual, the git shortlog is below.

Peter Hutterer (7):
      test: don't use the same mouse twice
      test: fix tablet touch arbitration case
      test: add missing linebreak to error message
      tools: print axes, but not capabilities on proximity out
      touchpad: add pressure ranges for cyapa touchpads
      evdev: mark the new log functions as printf-style functions
      configure.ac: libinput 1.7.0

git tag: 1.7.0

https://www.freedesktop.org/software/libinput/libinput-1.7.0.tar.xz
MD5:  b6689bfacc1239082afd453216fc3d0e  libinput-1.7.0.tar.xz
SHA1: f4b7c5322937c46562163934b9988772ccd0e36d  libinput-1.7.0.tar.xz
SHA256: 12a670f63d01e9e9c98ad0b31aef22160aac52187b4ee8f068a6902181c1a8a8  libinput-1.7.0.tar.xz
SHA512: 9058eab813ea3de230835155ca843f248127cbafaf1aecc9a2e209a0215b090beef0468cc863a24320f8d0db1f2863baba680e2416e9e409e958b2c1d18e43a1  libinput-1.7.0.tar.xz
PGP:  https://www.freedesktop.org/software/libinput/libinput-1.7.0.tar.xz.sig

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170323/27340c46/attachment.sig>


More information about the wayland-devel mailing list