[ANNOUNCE] libinput 0.14.0

Peter Hutterer peter.hutterer at who-t.net
Tue Apr 21 16:08:47 PDT 2015


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

libinput now provides middle button emulation for physical buttons and, for
some devices, a configuration interface to enable said emulation.
The API is the usual quartett of configuration queries:
	libinput_device_config_middle_emulation_is_available()
	libinput_device_config_middle_emulation_set_enabled()
	libinput_device_config_middle_emulation_get_enabled()
	libinput_device_config_middle_emulation_get_default_enabled()

A new tool "libinput-list-devices" was added. This tool lists the locally
recognised devices and their respective configuration options and
configuration defaults. Example output:

    Device:         SynPS/2 Synaptics TouchPad
    Kernel:         /dev/input/event4
    Group:          9
    Seat:           seat0, default
    Size:           97.33x62.40mm
    Capabilities:   pointer
    Tap-to-click:   disabled
    Left-handed:    disabled
    Nat.scrolling:  disabled
    Calibration:    n/a
    Scroll methods: *two-finger
    Click methods:  *button-areas clickfinger

Note that due to the design of libinput, this tool can only show the
_default_ configurations, not the _current_ configuration of each device.

The pointer acceleration range has been widened to allow for greater
deceleration and greater acceleration. Since we retain the [-1, 1] range,
you may see a slight slowdown or speedup. To get the previous behaviour,
use the value: current setting * 2.0/3.0.

Five (or more) finger tapping is now handled correctly, though note we only
send events for up to three fingers. libinput now supports multi-tap and
drag, so e.g. three taps will execute a triple-click.

Palm detection now avoids accidental tapping, see
http://wayland.freedesktop.org/libinput/doc/latest/palm_detection.html

And of course the usual bugfixing, including letting libinput handle more
devices such as keyboards with scroll wheels or devices that only consist of
a wheel.

As usual, the shortlog is below.

Hans de Goede (8):
      Fix scroll-threshold check for edge-scrolling to use normalized coordinates
      Add a delta_coords type and use it were applicable
      Add a normalized_length helper function and use this where applicable
      Add a normalized_is_zero helper function
      Change tp_filter_motion to normalized_coords
      Rename delta_coords to device_float_coords
      Change vector_get_direction input to a normalized_coords struct
      filter: Make acceleration range wider

Peter Hutterer (50):
      include: update to v3.18 header
      evdev: fix crash for missing ABS_X/Y
      evdev: fix handling of fake MT devices without ABS_X/Y
      test: adjust scroll wheel test for HWHEEL-only devices
      evdev: if a keyboard has a scroll wheel, allow natural scrolling
      test: add the Razer BlackWidow keyboard device
      touchpad: count the tapping fingers separately from the main touchpad code
      evdev: fix inverted mouse normalization
      touchpad: remove trailing semicolon from macro
      touchpad: add state debugging to the edge scroll state machine
      touchpad: delay fake finger processing until the EV_SYN
      evdev: reject devices with only one of x/y resolution
      touchpad: detect fake finger overflow after BTN_TOOL_QUINTTAB
      touchpad: a touch in TOUCH_NONE doesn't need to be ended
      touchpad: rename real_touches to num_slots
      tools: apply the config options for the event-gui helper too
      tools: add commandline flag to control the pointer accel speed
      tools: add a tool for printing pointer acceleration parameters
      evdev: any scroll device must have CAP_POINTER
      Don't post a events for a missing capability
      test: add a scrollwheel-only device
      Return INVALID before UNSUPPORTED for click methods
      evdev: add a event-debugging log statement (ifdef'd out)
      evdev: merge two conditions into one with a sub condition
      touchpad: extend two debug messages
      tools: add a tool to list local devices and the default configurations
      touchpad: only pair internal trackpoint devices with internal touchpads
      touchpad: don't allow taps in the top half of the palm exclusion zone.
      touchpad: reduce palm detection threshold to 70mm
      toucphad: fix a comment for the new min touchpad palm detection size
      evdev: add evdev_pointer_notify_physical_button
      Add middle mouse button emulation config options
      evdev: add support for middle button emulation
      evdev: enable middle button configuration on some devices
      touchpad: enable middle button emulation on some touchpads
      test: middle button emulation tests
      test: add litest_is_button_event
      touchpad: introduce MULTITAP for multi-tap-and-drag
      evdev: accept but disable ABS_MISC and above for min/max == 0
      tools: add --set-scroll-method commandline flag
      test: enable edge scrolling in all edge scroll tests
      test: extend edge scrolling tests to all non-clickpads
      test: adjust the movement size for edge scroll timeout testing
      touchpad: don't post 2fg scrolling when edge scrolling is enabled
      test: mix mixing of middle buttons state vs config status enum types
      tools: add --set-scroll-button as option
      doc: add a note that sometimes there's more than one ID_INPUT_* set
      Sort the middle button symbols additions correctly
      Update to v4.0 kernel header
      configure.ac: libinput 0.14.0

git tag: 0.14.0

http://www.freedesktop.org/software/libinput/libinput-0.14.0.tar.xz
MD5:  cace07d416e8133545d40026d6eb9e3a  libinput-0.14.0.tar.xz
SHA1: 1bf57e3ffc5a8dacf5b31de085aab709117e8bc7  libinput-0.14.0.tar.xz
SHA256: 7f9119b83ea4fd3c020d7134c210d29397f849e298cb8b7f5862a0747e0086a1  libinput-0.14.0.tar.xz
PGP:  http://www.freedesktop.org/software/libinput/libinput-0.14.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/20150422/c75292f1/attachment.sig>


More information about the wayland-devel mailing list