2009/7/20 Timo Juhani Lindfors <span dir="ltr"><<a href="mailto:timo.lindfors@iki.fi">timo.lindfors@iki.fi</a>></span><br>
<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Michal Brzozowski <<a href="mailto:rusolis@poczta.fm">rusolis@poczta.fm</a>> writes:<br>
> bit slow on some windows, vala-terminal in particular. I'm not sure if it's<br>
> possible at all to use a real mouse pointer for this.<br>
<br>
It is possible. For example<br>
<br>
$ xte "mousemove 10 10"<br>
<br>
moves mouse pointer to 10+10 and<br>
<br>
$ xte "mouseclick 1"<br>
</blockquote><div><br>
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.<br>
<br>
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. <br>
</div><div><br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
> If you want to experiment, install this package<br>
> <a href="http://pvtrace.com/literki_0.0.2-r4_armv4t.ipk" target="_blank">http://pvtrace.com/literki_0.0.2-r4_armv4t.ipk</a><br>
<br>
Pointer to source code would be nice.<br>
<br>
</blockquote><div> </div></div><a href="http://pvtrace.com/literki-0.0.2.tar.gz">http://pvtrace.com/literki-0.0.2.tar.gz</a>