Touchscreen configuration/calibration with mir-kiosk snap
Andreas Pokorny
andreas.pokorny at canonical.com
Mon Feb 27 16:00:12 UTC 2017
Hi,
We use libinput to handle touchscreen input. Thus you can use udev
properties to affect how the values are reported:
https://wayland.freedesktop.org/libinput/doc/latest/udev_config.html
If you replace vendor and model id with the right values and the height of
the screen (here assuming 1080) and if you add this to your udev rules:
ENV{ID_VENDOR_ID}=="04e7",ENV{ID_MODEL_ID}=="0020",ENV{LIBINPUT_CALIBRATION_MATRIX}="1
0 0 0 -1 1080"
It should swap the y coordinate axis.
regards
Andreas
On Thu, Feb 9, 2017 at 7:38 PM, Darren Landoll <darren.landoll at gmail.com>
wrote:
> I am testing the mir-kiosk snap on an amd64 kiosk/touchscreen PC. It has
> Elo Touch based hardware and at least one of the axes appears to be swapped.
>
> Is it currently possible to either statically or dynamically calibrate
> touchscreen input for the mir-kiosk snap?
>
> --
> Mir-devel mailing list
> Mir-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/mir-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/mir-devel/attachments/20170227/075907eb/attachment.html>
More information about the Mir-devel
mailing list