[PATCH weston v2 00/12] A new touchscreen calibrator

Pekka Paalanen ppaalanen at gmail.com
Mon Apr 30 13:03:22 UTC 2018


From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>

Hi,

this is the second version of the new touchscreen calibration protocol
extension and tool for Weston. The first version was here:
https://patchwork.freedesktop.org/series/40566/

and has seen many preparatory patches merged already. The problem
statement was given in:
https://phabricator.freedesktop.org/T7868

A major change by line count in v2 is the use of syspath instead of
devpath for identifying an input device. The protocol specification got
a bunch of corrections, the server-side implementation is more robust
against out-of-range input coordinates, and the client-side
implementation should handle multi-touch better. See the individual
patches for more detailed changelogs.

This is also available as a branch here:
https://gitlab.collabora.com/pq/weston/commits/touchcalib-2

I have tested this together with the remaining clone mode series on a
dual-head machine with two single-touch touchscreens in both extended
desktop and cloned setups, calibrating each touchscreen individually and
verifying the result with weston-simple-touch finger-painting app.


Thanks,
pq


Louis-Francis Ratté-Boulianne (6):
  input: introduce weston_touch_device
  input: move touchpoint counting up
  input: introduce touch event mode for calibrator
  libweston: implement touch calibration protocol
  weston: add touchscreen_calibrator option
  clients: add a new touchscreen calibrator

Pekka Paalanen (6):
  libinput: move calibration printing into do_set_calibration()
  libweston: notify_touch API to use weston_touch_device
  libweston: introduce notify_touch_normalized() and doc
  input: do not forward unmatched touch-ups
  protocol: add weston_touch_calibration
  doc: add example calibration-helper script

 .gitignore                            |   1 +
 Makefile.am                           |  21 +-
 clients/touch-calibrator.c            | 970 ++++++++++++++++++++++++++++++++++
 clients/window.c                      |   4 +-
 clients/window.h                      |   4 +
 compositor/main.c                     |  68 +++
 doc/calibration-helper.bash           |  66 +++
 libweston/compositor-wayland.c        |  31 +-
 libweston/compositor.c                |   2 +
 libweston/compositor.h                | 162 +++++-
 libweston/input.c                     | 317 +++++++++--
 libweston/libinput-device.c           | 182 +++++--
 libweston/libinput-device.h           |   3 +
 libweston/touch-calibration.c         | 716 +++++++++++++++++++++++++
 man/weston.ini.man                    |  39 ++
 protocol/weston-touch-calibration.xml | 342 ++++++++++++
 tests/weston-test.c                   |  44 +-
 17 files changed, 2895 insertions(+), 77 deletions(-)
 create mode 100644 clients/touch-calibrator.c
 create mode 100755 doc/calibration-helper.bash
 create mode 100644 libweston/touch-calibration.c
 create mode 100644 protocol/weston-touch-calibration.xml

-- 
2.16.1



More information about the wayland-devel mailing list