[Sugar-devel] Simulate mouse click
Martin Langhoff
martin.langhoff at gmail.com
Fri Aug 10 17:53:21 EDT 2012
On Fri, Aug 10, 2012 at 10:26 AM, Rodrigo Pérez Fulloni
<rodripf at gmail.com> wrote:
> Hi, I'm developing an accessibility activity to move the mouse with
> alternative methods. I already have one developed, hMouse. But then and now
> I can't find a way to simulate the mouse click, pygame hasn't the ability
> and I can't find another library to do it.
> Someone could give me a clue to follow?
Hm, you probably have to work a little bit lower level than an
activity for a fully reliably "mouse click" simulation.
You probably want to talk to the X server so that it triggers the
mouse btn down / mouse btn up events.
cheers,
m
--
martin.langhoff at gmail.com
martin at laptop.org -- Software Architect - OLPC
- ask interesting questions
- don't get distracted with shiny stuff - working code first
- http://wiki.laptop.org/go/User:Martinlanghoff
More information about the Sugar-devel
mailing list