calibrator: Make mouse button optional

Graphics / Wayland / Weston - Fabien Lahoudere [] - 18 September 2017 05:16 EDT

When calibrating touchscreen with weston-calibrator, you can use the mouse to click on the cross which is recorded as a touch event. This event is used to compute the final calibration of the touchscreen which results in invalid touchscreen calibration and broken touchscreen behaviour.

In order to avoid to use the mouse in weston-calibrator, we disable mouse operation by default and add a parameter "--enable-mouse" to enable it.

e80bdcd calibrator: Make mouse button optional
clients/calibrator.c | 38 ++++++++++++++++++++++++++++++++++----
1 file changed, 34 insertions(+), 4 deletions(-)


  • Share