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.land...@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@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/mir-devel
>
>
-- 
Mir-devel mailing list
Mir-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/mir-devel

Reply via email to