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...

Somebody who actually knows can correct me if I'm wrong!

-Keith




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.