[PATCH libinput v9 0/2] add orientation, size and pressure of touch

Peter Hutterer peter.hutterer at who-t.net
Sun Nov 22 20:19:08 PST 2015


On Fri, Nov 13, 2015 at 08:46:42AM +0100, Andreas Pokorny wrote:
> Hi,
> This version contains several rewordings and documentation additions from Peter
> that I missed in the last update, within the first patch of the series, while
> the second patch contains no changes compared to v8. 

two high-level questions:
- do you have a list of devices you've tested on so far that provide useful
  data?
  we need to figure out how to handle devices that have invalid ranges, such
  as the T440s on my desk. Range claims 0..255, the max I can trigger with a
  finger is ~10 which atm translates to 0.20mm or so. I can get up to
  about 20 if I put my whole palm down.
  either way, we need some strategy in place to deal with those devices and
  figure out how widespread those are.
- do you have client-side code that makes use of these properties yet? I'd
  like to have a look at it.

Cheers,
   Peter


> regards
> Andreas
> 
> Andreas Pokorny (2):
>   libinput: add orientation and size of touch point and pressure to the
>     API
>   extend tools to print and display touch event properties
> 
>  doc/Makefile.am                                |   2 +
>  doc/page-hierarchy.dox                         |   1 +
>  doc/svg/touchscreen-touch-event-properties.svg | 347 +++++++++++++++++++++++++
>  doc/touch-event-properties.dox                 |  66 +++++
>  src/evdev.c                                    | 224 ++++++++++++++--
>  src/evdev.h                                    |  24 ++
>  src/libinput-private.h                         |  13 +-
>  src/libinput-util.h                            |   6 +
>  src/libinput.c                                 | 212 ++++++++++++++-
>  src/libinput.h                                 | 222 ++++++++++++++++
>  src/libinput.sym                               |  13 +
>  test/touch.c                                   | 241 +++++++++++++++++
>  tools/event-debug.c                            |  29 ++-
>  tools/event-gui.c                              |  38 ++-
>  14 files changed, 1400 insertions(+), 38 deletions(-)
>  create mode 100644 doc/svg/touchscreen-touch-event-properties.svg
>  create mode 100644 doc/touch-event-properties.dox
> 
> -- 
> 2.5.0
> 


More information about the wayland-devel mailing list