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

List:       freedesktop-xorg
Subject:    Re: 2 touchscreens 2 pointers 2nd pointer wrong positioning
From:       Victor Seryodkin <vvscore () gmail ! com>
Date:       2011-02-24 13:20:53
Message-ID: AANLkTimQXvifLnYF2gHWa2U9HAzcBVybYObsF0Ei0w9R () mail ! gmail ! com
[Download RAW message or body]

Continuing
http://lists.freedesktop.org/archives/xorg/2011-February/052556.html


After some experiments I've found out that the following sequence
produces required result
(2 touchscreens, 2 pointers, each pointer working at one touchscreen only):

1) change xorg.conf:

Mouse device
  InputDevice    "Mouse0"            "CorePointer"
should be disabled

Otherwise after step 2 (creating auxiliary pointer)
both pointers move simultaneously but with different speed.

Section "ServerLayout"
       Identifier     "DualScreenLayout"

       Screen  0  "DisplayLinkScreen" 0 0
       Screen  1  "VGAScreen" RightOf "DisplayLinkScreen"

       InputDevice    "DisplayLinkTouch"  "CorePointer"
       InputDevice    "VGATouch"          "SendCoreEvents"

       InputDevice    "Keyboard0" "CoreKeyboard"
#       Option "Xinerama" "Off"
EndSection

2)start XOrg

3)create auxiliary pointer for the secondary touch screen:
    xinput create-master ...
    xinput list
    xinput reattach ...

    At this step auxiliary pointer working area covers only the
primary touch screen (DisplayLinkScreen).
    if you move the finger from the left to the right side of the
secondary touchscreen (VGAScreen)
    auxiliary pointer moves from the left to the right side of the
primary screen(DisplayLinkTouch)


4)xinput set-mode "VGATouch" RELATIVE
    At this step auxiliary pointer working area stretches over both screens:
    if you move the finger from the left to the right side of the
secondary touchscreen (VGAScreen)
    auxiliary pointer moves from the left side of the primary
screen(DisplayLinkScreen)
    to the right side of the secondary screen(VGAScreen)

5)move cursor to the secondary screen(VGAScreen) by hand

6)xinput set-mode "VGATouch" ABSOLUTE
   At this step auxiliary pointer working area shrinks to the
secondary touchscreen only(VGAScreen):
   if you move the finger from the left to the right side of the
secondary touchscreen (VGAScreen)
   auxiliary pointer moves from the left to the right side of the
secondary screen(VGAScreen)
   as it is required.

2 touchscreen configuration works with xinerama enabled as well.

There is still the problem with the step 5 (move cursor to the
secondary screen(VGAScreen) by hand.

The question is - why such witchcraft (steps 4,5,6) need to be done to
get proper result?
_______________________________________________
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

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