[PATCH libinput 0/3] Support of true hovering

Benjamin Tissoires benjamin.tissoires at gmail.com
Thu Apr 30 13:30:22 PDT 2015


Hi,

The Chromebook Pixel 2015 presents a true per finger hovering transmitted
by the ABS_MT_DISTANCE event. This is to my knowledge the first touchpad
presenting such information and libinput fails to handle it properly.

This patch series aims at supporting a per-finger hovering and making the
touchpad functional. On this laptop, only the touchpad reports hovering,
the touchscreen doesn't.

This patch series will need at least 2 follow up patches I guess:
1. support hovering for touchscreens too
2. fetch the initial state of the evdev device when opening it. Without this,
   the first hovering finger of the session is seen as a touch (annoying but
   it disapears as soon as it touches once the sensor).

I am sending this series now because the 2 previous points are not mandatory
for current users.

Cheers,
Benjamin

Benjamin Tissoires (3):
  test: bcm5974: down should be marked as static
  test: rename hover tests into semi_mt_hover
  touchpad: add support for per-finger hovering information

 src/evdev-mt-touchpad.c   |   40 +++++++++-
 src/evdev-mt-touchpad.h   |    2 +
 test/Makefile.am          |    1 +
 test/litest-atmel-hover.c |  149 +++++++++++++++++++++++++++++++++++
 test/litest-bcm5974.c     |    2 +-
 test/litest.c             |  153 ++++++++++++++++++++++++++++++++----
 test/litest.h             |   26 ++++++-
 test/touchpad.c           |  192 ++++++++++++++++++++++++++++++++++++++++++---
 8 files changed, 533 insertions(+), 32 deletions(-)
 create mode 100644 test/litest-atmel-hover.c



More information about the wayland-devel mailing list