[weston 1/1] calibrator: Make mouse button optional

Pekka Paalanen ppaalanen at gmail.com
Mon Sep 18 09:19:05 UTC 2017


On Thu,  7 Sep 2017 15:11:58 +0200
Fabien Lahoudere <fabien.lahoudere at collabora.co.uk> wrote:

> 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.

Hi,

heh, indeed. The mouse operation is only for testing that the
calibrator does anything when one does not have an actual touchscreen.

> 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.
> 
> Signed-off-by: Fabien Lahoudere <fabien.lahoudere at collabora.co.uk>
> ---
>  clients/calibrator.c | 38 ++++++++++++++++++++++++++++++++++----
>  1 file changed, 34 insertions(+), 4 deletions(-)

Pushed:
   c05ee89a..e80bdcda  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170918/e26a5efe/attachment.sig>


More information about the wayland-devel mailing list