Touchscreen configuration/calibration with mir-kiosk snap
Darren Landoll
darren.landoll at gmail.com
Thu Sep 28 18:38:00 UTC 2017
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.pokorny at 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.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/mailm
>> an/listinfo/mir-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/mir-devel/attachments/20170928/8d86552b/attachment.html>
More information about the Mir-devel
mailing list