Hello!
I am developing a game / navigation framework (*) using GLUT and now
FreeGLUT.
Everything is fine, there is just an annoying detail: the change of status
in modifier keys (shift/ctrl/alt) is noticed only when something else
happens (other keys, or mouse event).
If I call glutGetModifiers from glutDisplayFunc or glutIdleFunc I get this
message on the console (as well as nasty effects):
GLUT: Warning in .\GLOBE_3D_Demo.exe: glutCurrentModifiers: do not call
outside
core input callback.
So, my question: how to get a fresh status of these modifier keys,
independently of the other keys or the mouse ?
Or, is there a new callback function (say, KeyboardModifierFunc) to add to
the wish list ?
TIA - cheers!
Gautier
__
(*) It is called GLOBE_3D, URL:
http://homepage.sunrise.ch/mysunrise/gdm/g3d.htm_________________________________________________________________
Stay in touch with old friends and meet new ones with Windows Live Spaces
http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642_______________________________________________
Freeglut-developer mailing list
Freeglut-developer@...
https://lists.sourceforge.net/lists/listinfo/freeglut-developer