libinput: note if calibrating without an output
authorPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 18 Apr 2017 09:14:32 +0000 (12:14 +0300)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Fri, 20 Apr 2018 12:27:54 +0000 (15:27 +0300)
commitdfc9d3b847b002f1139589e43a50b152b9aa2d3f
treefd25e97e052e742021625efe708d89de874cfa42
parentbb659c8e192d498846d3f641b6a7462506c24ca0
libinput: note if calibrating without an output

Print a note that calibration got skipped if the input device supports a
calibration matrix but there is no associated output to compute it from.
Helps with debugging touchscreen calibration issues.

The code is reorganized and commented a bit, but this does not change
the behaviour.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
libweston/libinput-device.c