Confusing interactions between xinput mapping and xinput set-prop

malcolm moore st-malcolm.moore at whsg.info
Fri Mar 15 15:13:20 UTC 2019



I tried putting the calibration stuff in /etc/X11/xorg.conf.d/99-screen-calibration.conf
( I also tried /usr/share/X11... etc  once the machine starts you can get the properties
and see the calibration is what was set by the conf file. The when you do the map-to-output
put it back to some other values. 

Ta

Mal



 
----- Original Message -----
From: Peter Hutterer (peter.hutterer at who-t.net)
Date: 14/03/19 22:40
To: malcolm moore (st-malcolm.moore at whsg.info)
Cc: xorg at lists.x.org
Subject: Re: Confusing interactions between xinput mapping and xinput set-prop

On Thu, Mar 14, 2019 at 10:59:06AM +0000, malcolm moore wrote:
> If I use xinput set-prop to change the calibration matrix ( because I am
> trying to use a SmartBoard as a second touch screen which are notoriously
> inaccurate ) I can set the values to whatever I like. So far so good, but
> then I have to do the xinput --map-to-output to tell the machine where the
> touch is coming from. This resets the values I first set. If I do the
> xinput --map-to-output first the xinput set-prop resets that. How do I do
> both

you can't. map-to-output is a convenience helper because it's the prime
use-case for the calibration matrix and in the end writing map-to-output
was more efficient than explaning how to set the calibration matrix to every
user that filed a bug report.

If your touchscreen needs calibration *and* screen mapping, you need to
manually calculate the matrix and then set it directly.

Cheers,
  Peter






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20190315/68b5382c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: welefant.gif
Type: image/gif
Size: 11893 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg/attachments/20190315/68b5382c/attachment.gif>


More information about the xorg mailing list