[ANNOUNCE] libinput 0.20.0
Peter Hutterer
peter.hutterer at who-t.net
Wed Jul 15 22:03:51 PDT 2015
A new release of libinput, 0.20.0, is now available.
The big new addition in this release is support for touchpad gestures,
implemented by Hans de Goede. 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 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.
The gestures follow a begin/update/end cycle, similar to touch events. The
new events are
LIBINPUT_EVENT_GESTURE_SWIPE_BEGIN
LIBINPUT_EVENT_GESTURE_SWIPE_UPDATE
LIBINPUT_EVENT_GESTURE_SWIPE_END
LIBINPUT_EVENT_GESTURE_PINCH_BEGIN
LIBINPUT_EVENT_GESTURE_PINCH_UPDATE
LIBINPUT_EVENT_GESTURE_PINCH_END
Gesture support is a new capability on the device:
LIBINPUT_DEVICE_CAP_GESTURE
Please refer to the API documentation for more information.
Note that gesture handling in libinput does merely interpret and pass on the
gestures, it is up to the caller to act on them.
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 numbers sprinkled through the code.
As usual, the git shortlog is below.
Andreas Pokorny (4):
litest: add axis_replacement from tablet branch
litest: add a generic multitouch screen
litest: add nexus4 style touch screen without orientation
litest: floating point comparison macros
Hans de Goede (5):
touchpad: Add an API for touchpad gesture events
touchpad: Add support for swipe gestures
touchpad: Extend the touchpad gesture API with pinch gestures
touchpad: Implement pinch gesture support
touchpad: Allow querying whether a gesture ended normally or was cancelled
Peter Hutterer (51):
touchpad: split tp_gesture_stop into stop and cancel
gestures: check for valid types on the gesture event API
gestures: allow any gesture event type for gesture_get_dx/dy and get_angle
tools: add swipe support to the event-gui
tools: handle pinch event in event-gui
doc: add documentation for touchpad gestures
libinput.sym: make the touchpad gestures part of the 0.20 API
touchpad: correct a comment
tools: don't call is_cancelled on a gesture begin event
doc: add "mouse is too fast" to the FAQ
Add more rules to CODING_STYLE
touchpad: fix a misaligned {
test: move enable_edge_scroll up
test: add helper function for enabling click methods
touchpad: allow edge scrolling on clickpads
touchpad: be smarter about clickfinger thumb detection
test: allow for a default value on LITEST_AUTO_ASSIGNS
touchpad: add pressure-based thumb-detection
touchpad: work thumb detection into the tap state machine
test: add touchpad thumb detection tests
udev: make sure the udev callout path is valid for a test run
evdev: simplify setting a fake resolution
test: fix memleak in the udev_device_sysname() test
test: slow down 2fg slow scroll movement
test: replace hardcoded wacom ID with the #define
test: reduce movement of finger while pinned
test: move finger position to test for right button down
test: add an Apple Magic Trackpad test device
test: prefix all test device files with litest-device
test: add an Elantech touchpad device
touchpad: add gesture state debug helper
touchpad: drop obsolete comment
test: remove some excessive linebreaks
util: add a helper function to parse a "WIDTHxHEIGHT" property
evdev: use LIBINPUT_ATTR_SIZE_HINT for resolutions
udev: add a model-quirks callout
udev: add ALPS firmware detection and size properties
udev: add size hint for apple touchpads
touchpad: default to a 69x50mm sized touchpad
touchpad: drop fake resolution handling
test: check for fcntl() return value
touchpad: fix typo in comment
evdev: parse LIBINPUT_ATTR_RESOLUTION_HINT
test: add a couple of basic gesture tests
touchpad: drop thumb handling from gestures
doc: group the "related pages" by general topic
doc: add a page about the available tools
doc: strip doxygen file from all default values
doc: use bootstrap for doxygen styling
test: fix path to custom litest rules
configure.ac: libinput 0.20.0
git tag: 0.20.0
http://www.freedesktop.org/software/libinput/libinput-0.20.0.tar.xz
MD5: 444f3a4061be560310cb761cac6fa178 libinput-0.20.0.tar.xz
SHA1: 027fe8ef2be9388480e5cb1ba2688f625fdb0340 libinput-0.20.0.tar.xz
SHA256: 175bdfce97cfab13a2a0d02c3138fcf02f60c8fcd098835a97128ff114d7125d libinput-0.20.0.tar.xz
PGP: http://www.freedesktop.org/software/libinput/libinput-0.20.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/20150716/ba33f813/attachment-0001.sig>
More information about the wayland-devel
mailing list