Mouse control with ctypes in OS X
Robert Kern
robert.kern at gmail.com
Mon Aug 20 15:41:53 EDT 2007
Robert Kern wrote:
> Googling around a bit more, however, I see that the Quartz Event Services is
> documented and provides similar functionality. The DarwiinRemote project has a
> mouse emulation mode for the Nintendo Wii controller that uses this API. It's
> only available in OSX 10.4, however.
Apologies for the self-response, but reading the docs more I see that
CGPostMouseEvent(), the most relevant function in the API, has been available
since 10.0. Sweet. That's just what I've been looking for, too.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco
More information about the Python-list
mailing list