lorenzodelarocha / touchegg

Automatically exported from code.google.com/p/touchegg
0 stars 0 forks source link

dual monitor setup - mouse coordinate problem #82

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, 

I think I've got a new headache for you ;)

I just tried using my T230H touchscreen as a secondary monitor with my laptop. 
The laptop is on the left, the touchscreen is on the right.

The problem I immediately encountered is that the touchscreen input is treated 
as if the screen would span over both monitors. (So, if I touch the outer left 
side of the touchscreen, the mouse moves to the outer left of the laptop's 
screen)
I found a solution that manipulates xinput's transformation matrix:

xinput set-prop "Acer T230H" "Coordinate Transformation Matrix" 0.5843 0 0.4157 
0 1 0 0 0 1

Using this, the input is translated into correct mouse coordinates and the 
touchscreen is not influenced by the additional width of the laptop's screen 
any more.

However, touchegg seems not to be affected by this change. So, it executes 
actions where the mouse would have wrongly been without the xinput 
configuration.

Original issue reported on code.google.com by Linus.Seelinger on 21 Jul 2011 at 3:18

GoogleCodeExporter commented 8 years ago
Really is a headache hahahaha

I think that the problem could be Xinerama, I don't know if uTouch-GEIS have 
support for this feature...

Searching in google I see this:
https://answers.launchpad.net/utouch/+question/138621

I don't know if it can help you. Anyway, you can try to ask about the Xinerama 
support in the uTouch-GEIS page:
https://launchpad.net/utouch-geis

Or in #ubuntu-touch at Freenode IRC. Unfortanetly I haven't got a touchscreen 
and I can't test this :S

Original comment by jose.exposito89@gmail.com on 21 Jul 2011 at 4:08

GoogleCodeExporter commented 8 years ago
I just remembered, you can use DRAW with one finger, I don't know if this 
gesture can be usefull to make scroll, because I can't test it with my trackpad 
(in my case Touchégg crash...)

Please, if you have a moment test it

        <gesture type="DRAG" fingers="1" direction="ALL">
            <action type="SCROLL">SPEED=7:INVERTED=true</action>
        </gesture>

Thanks!!

Original comment by jose.exposito89@gmail.com on 21 Jul 2011 at 8:59

GoogleCodeExporter commented 8 years ago
Issue 87 has been merged into this issue.

Original comment by jose.exposito89@gmail.com on 6 Aug 2011 at 7:16

GoogleCodeExporter commented 8 years ago

Original comment by jose.exposito89@gmail.com on 19 Aug 2011 at 11:33