On Mon, Jun 13, 2011 at 03:24:17PM +0000, Scott Jaffa wrote:
> I should mention, I am using Fedora Core 15 and the evdev driver.

xorg-x11-drv-evdev-2.6.0-3 has the patches, to be found somewhere in updates
or updates-testing.

Cheers,
  Peter
 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Scott Jaffa
> Sent: Monday, June 13, 2011 10:50 AM
> To: [email protected]
> Subject: Apply coordinate transformation matrix for multi-head touchscreen
> 
> I am working to get multiple touchscreen support working.
> Both devices currently come up, however I need to apply a coordinate 
> transformation matrix to the input, as documented here:
> http://lists.freedesktop.org/archives/xorg/2010-April/049967.html
> 
> This works fine from the command line, however I have a pair of devices.  
> The touchscreens are uniquely identified via usb port with udev, so I have 
> hardcoded /dev/input/ts1 and /dev/input/ts2 devices.  
> However, I cannot script the xinput command, as I do not know which devices 
> are which from the xinput list output.  Each touchscreen reports two device 
> ids:
> ⎡ Virtual core pointer                          id=2    [master pointer  (3)]
> ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
> ⎜   ↳ stylus                                    id=6    [slave  pointer  (2)]
> ⎜   ↳ eraser                                    id=7    [slave  pointer  (2)]
> ⎜   ↳ TPPS/2 IBM TrackPoint                     id=14   [slave  pointer  (2)]
> ⎜   ↳ HID 0430:0100                             id=11   [slave  pointer  (2)]
> ⎜   ↳ TS Device                                   id=12   [slave  pointer  
> (2)]
> ⎜   ↳ TS Device                                   id=13   [slave  pointer  
> (2)]
> ⎜   ↳ TS Device                                   id=14   [slave  pointer  
> (2)]
> ⎜   ↳ TS Device                                   id=15   [slave  pointer  
> (2)]
> 
> Is there a way to define the matrix in the xorg.conf file, or a way to match 
> the ids above to their /dev/input device or USB port?  
> 
> Thanks,
> 
> Scott
> _______________________________________________
> [email protected]: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: [email protected]
> _______________________________________________
> [email protected]: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: [email protected]
> 
_______________________________________________
[email protected]: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: [email protected]

Reply via email to