I finally had a chance to go back and try the libinput configuration via
udev rules. I've tried some different values and none seem to make a
difference for the calibration matrix. Is there something special I need to
do on the latest Ubuntu Core with the mir-kiosk snap (edge channel) to
apply the libinput configuration?

On Mon, Feb 27, 2017 at 11:00 AM, Andreas Pokorny <
andreas.poko...@canonical.com> wrote:

> 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/mailm
>> an/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