Attach Touchscreen to X Screen
Boszormenyi Zoltan
zboszor at pr.hu
Wed Mar 15 18:10:13 UTC 2017
Hi,
Read man xinput, see option map-to-output.
Then you can query the transformation matrix using xinput and
use the values in an xorg.conf piece, like these below so they are
applied as soon as the X server starts. This example works for
two X displays with identical resolutions side by side.
Section "InputClass"
Identifier "INTERNAL_TS"
MatchIsTouchscreen "on"
MatchProduct "EETI eGalaxTouch Serial TouchScreen"
Option "TransformationMatrix" "0.5 0 0 0 1 0 0 0 1"
EndSection
# Explicitly match only the Product name
# Neither MatchIsTouchscreen, MatchIsTouchpad or MatchIsTablet matches this device
Section "InputClass"
Identifier "ELO_TS"
MatchProduct "Elo TouchSystems, Inc. Elo TouchSystems 2700 IntelliTouch(r) USB"
Option "TransformationMatrix" "0.5 0 0.5 0 1 0 0 0 1"
EndSection
2017-03-15 15:50 keltezéssel, Mike Werner írta:
> Hi,
>
> I need to run multiple touch screens on an OpenSuSE 13.2 system, as well as on an Ubuntu
> 16.04. Every thing works „fine“ when the system only has one graphics card (Nvidia)
> installed. Unfortunately the systems is required to provide two graphics cards. In this
> case the system has two XScreens and my approach mapping the xinput ID to a display port
> does not work any longer. It seems that xinput is only able to work properly with one
> xscreen (i.e. screen 0).
>
> Is there a way to have multiple touch screens connected to multiple graphics cards? How
> can this be achieved?
>
> *
> Kind regrads
>
> Mike
> *
>
> --
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
>
> _______________________________________________
> xorg at 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
More information about the xorg
mailing list