moving mouse cursor automatically with xautomation (Re: touchpad on OM)
Michal Brzozowski writes: > bit slow on some windows, vala-terminal in particular. I'm not sure if it's > possible at all to use a real mouse pointer for this. It is possible. For example $ xte "mousemove 10 10" moves mouse pointer to 10+10 and $ xte "mouseclick 1" clicks using left mouse button. You can find xte in xautomation package of debian or upstream at http://hoopajoo.net/projects/xautomation.html > If you want to experiment, install this package > http://pvtrace.com/literki_0.0.2-r4_armv4t.ipk Pointer to source code would be nice. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: moving mouse cursor automatically with xautomation (Re: touchpad on OM)
2009/7/20 Timo Juhani Lindfors > Michal Brzozowski writes: > > bit slow on some windows, vala-terminal in particular. I'm not sure if > it's > > possible at all to use a real mouse pointer for this. > > It is possible. For example > > $ xte "mousemove 10 10" > > moves mouse pointer to 10+10 and > > $ xte "mouseclick 1" > Yes, I use the XTest extension to do the clicks. The problem is that when you're touching the touchpad, that's where the pointer will normally be moved, and I don't think X supports two pointers to have at two different places. That's why I have to draw a fake pointer. When you click the "L" or "R" buttons, the pointer is now free and I can move it to the location of the fake pointer to simulate the click. > > > If you want to experiment, install this package > > http://pvtrace.com/literki_0.0.2-r4_armv4t.ipk > > Pointer to source code would be nice. > > http://pvtrace.com/literki-0.0.2.tar.gz ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: moving mouse cursor automatically with xautomation (Re: touchpad on OM)
[removed cross-post for both community and devel] Michal Brzozowski writes: > Yes, I use the XTest extension to do the clicks. The problem is that when Ah. What if you EVIOGRAB the touchscreen device while the touchscreen is pressed on top of your app to prevent X from seeing touchscreen events during that time? ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: moving mouse cursor automatically with xautomation (Re: touchpad on OM)
I don't think X supports two pointers to have at > two different places. That's why I have to draw a fake pointer. I don't know for the X in Freerunner but http://wearables.unisa.edu.au/mpx/?q=mpx Xavier. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: moving mouse cursor automatically with xautomation (Re: touchpad on OM)
Xavier Cremaschi writes: > I don't know for the X in Freerunner but > http://wearables.unisa.edu.au/mpx/?q=mpx Any idea what the status is? I don't seem mpx in debian unstable and that page seems to be from 2006. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: moving mouse cursor automatically with xautomation (Re: touchpad on OM)
Timo Juhani Lindfors a écrit : > Xavier Cremaschi writes: >> I don't know for the X in Freerunner but >> http://wearables.unisa.edu.au/mpx/?q=mpx > > Any idea what the status is? I don't seem mpx in debian unstable and > that page seems to be from 2006. Wikipedia : - MPX was merged into the current development version of X.Org on 26 May 2008 - Xinput2 (XI2) which is the second official stable API release of the XInput X Window Extension, containing MPX was merged into the current development version of X.Org on 3 Jun 2009 You'll need to wait for server 1.7 (X11R7.5, cf. http://www.x.org/wiki/Releases/7.5 ), but it's coming... Xavier. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community