[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re[2]: Confusing interactions between xinput mapping and xinput set-prop
From:       "malcolm moore" <st-malcolm.moore () whsg ! info>
Date:       2019-03-15 15:13:20
Message-ID: b373911a45b357c55262f2f494542a3e () whsg ! info
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


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

Ta

Mal



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

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 th=
e
> 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 ever=
y
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,
=C2=A0 Peter







[Attachment #7 (text/html)]

<html>
<head><title></title></head>
<body><div class="iw_mail" dir="ltr" style="font-family: \
Tahoma,Helvetica,sans-serif;font-size: 13;"> <div>I tried putting the calibration \
stuff in /etc/X11/xorg.conf.d/99-screen-calibration.conf</div> <div>( I also tried \
/usr/share/X11... etc &nbsp;once the machine starts you can get the properties</div> \
<div>and see the calibration is what was set by the conf file. The when you do the \
map-to-output</div> <div>put it back to some other values.&nbsp;</div>
<div><br></div>
<div>Ta</div>
<div><br></div>
<div>Mal</div>
<div><br></div>
<div class="iw-signature">
<div>
<img name="1530625962366" id="1530625962366" border="0" \
src="cid:3282303945c8bc110296842z06760629" class="wm_inserted"><br> \
</div>&nbsp;</div> <div><br></div>
<div style="font-size: 13px;font-family:Helvetica,sans-serif;line-height:150%;" \
dir="ltr" class="iw-reply-block"> <div \
style="margin:0;font-family:Helvetica,sans-serif;font-size:13px;font-weight:300;line-height:150%;letter-spacing:normal;color:#333333;">
 <div style="display:none;margin:0;font-family:Helvetica,sans-serif;font-size:13px;font-weight:300;line-height:150%;letter-spacing:normal;color:#333333;">----- \
Original Message -----</div> <hr size="1" width="100%" \
style="width:100%;padding:0;margin:10px \
0;color:#888888;background-color:#888888;border-color:#DDDDDD;">From: Peter Hutterer \
(<a style="font-family: Helvetica, sans-serif; font-size: 12px; font-weight: 300; \
line-height: 150%; color: rgb(0, 136, 204); text-decoration: none;" \
href="mailto:peter.hutterer@who-t.net">peter.hutterer@who-t.net</a>)<br>Date: \
14/03/19 22:40<br><span style="font-family:Helvetica, \
sans-serif;font-size:12px;font-weight:300;line-height:150%;color:#333;text-decoration:none;font-weight:normal;">To: \
malcolm moore (<a style="font-family: Helvetica, sans-serif; font-size: 12px; \
font-weight: 300; line-height: 150%; color: rgb(0, 136, 204); text-decoration: none;" \
href="mailto:st-malcolm.moore@whsg.info">st-malcolm.moore@whsg.info</a>)<br>Cc: <a \
style="font-family: Helvetica, sans-serif; font-size: 12px; font-weight: 300; \
line-height: 150%; color: rgb(0, 136, 204); text-decoration: none; outline-width: 0px \
!important; user-select: auto !important;" \
href="mailto:xorg@lists.x.org">xorg@lists.x.org</a><br>Subject: <span \
style="font-family:Helvetica, \
sans-serif;font-size:12px;font-weight:300;line-height:150%;color:#333;text-decoration:none;font-weight:bold;">Re: \
Confusing interactions between xinput mapping and xinput set-prop</span></span> \
</div> <br><div>On Thu, Mar 14, 2019 at 10:59:06AM +0000, malcolm moore \
wrote:<br>&gt; If I use xinput set-prop to change the calibration matrix ( because I \
am<br>&gt; trying to use a SmartBoard as a second touch screen which are \
notoriously<br>&gt; inaccurate ) I can set the values to whatever I like. So far so \
good, but<br>&gt; then I have to do the xinput --map-to-output to tell the machine \
where the<br>&gt; touch is coming from. This resets the values I first set. If I do \
the<br>&gt; xinput --map-to-output first the xinput set-prop resets that. How do I \
do<br>&gt; both<br><br>you can't. map-to-output is a convenience helper because it's \
the prime<br>use-case for the calibration matrix and in the end writing \
map-to-output<br>was more efficient than explaning how to set the calibration matrix \
to every<br>user that filed a bug report.<br><br>If your touchscreen needs \
calibration *and* screen mapping, you need to<br>manually calculate the matrix and \
then set it directly.<br><br>Cheers,<br>&nbsp; Peter<br><br><br><br><br> </div>
</div>
</div></body>
</html>


["welefant.gif" (image/gif)]
--b3_c24c58b87c1a398eefdce856750d8dd7--
[Attachment #10 (text/plain)]

_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: https://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
--b3_c24c58b87c1a398eefdce856750d8dd7--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic