And on OS X, you're looking at CGWarpMouseCursorPosition(CGPoint pos).

2009/1/30 sol <[email protected]>

>
> For win32, the function is:
>
> user32.SetCursorPos(int X,int Y)
>
>
> On Jan 29, 5:14 pm, Tristam MacDonald <[email protected]> wrote:
> > On Thu, Jan 29, 2009 at 4:44 PM, Alex Holkner <[email protected]
> >wrote:
> >
> >
> >
> >
> >
> > > On Thu, Jan 29, 2009 at 11:26 PM, __doc__ <[email protected]> wrote:
> >
> > > > In the spirit of pyglet being a cross platform portable framework,
> and
> > > > in the light that it does handle the mouse position internally, I do
> > > > think the *proper* way to set the mouse position would be this patch
> > > >http://paste.pocoo.org/show/101686/
> >
> > > > any comment?
> >
> > > A feature-providing patch like this has no chance of being accepted
> > > until equivalent Windows and OS X methods are also included.  It's a
> > > reasonable suggestion, but I don't have the time to do this myself at
> > > the moment.
> >
> > > Alex.
> >
> > I could use this feature at some point, so I will see about adding a Mac
> > version of this patch to this thread in the near future. As for Windows,
> > that will have to fall to someone else.
> >
> > --
> > Tristam MacDonaldhttp://swiftcoder.wordpress.com/
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/pyglet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to