Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic mouse moving with glut?



> from GL/glut.h:
>
> #if (GLUT_API_VERSION >= 4 || GLUT_XLIB_IMPLEMENTATION >= 9)
> extern void APIENTRY glutWarpPointer(int x, int y);
> #endif
>
> We've been using this function to great effect to capture actual mouse deltas
> in our Linux & Windows game test harness. It moves the mouse pointer to the
> pixel location (x,y) within the current window.
>
> Unfortunately, AFAIK Apple's glut implementation does not yet support this
> function, though it should be in the update Apple has been promising RSN for
> the last 3 months...

Tested and it's exactly what I needed, it works perfectly! I hope this will get
on the Apple implementation soon!

Thanks,
Simon

--
+-------------------------+----------------------------------+
| Simon Lemieux | Website : http://www.666Mhz.net |
| Email : email@hidden | POV-Ray, OpenGL, C++ and more... |
+-------------------------+----------------------------------+


References: 
 >Re: Automatic mouse moving with glut? (From: Keith Bauer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.