Gautier de Montmollin wrote:
> So, my question: how to get a fresh status of these modifier keys,
> independently of the other keys or the mouse ?
No - you can't. That's actually an operating system restriction
under some OS's - so to be portable, GLUT (and therefore freeglut)
doesn't let you read the modifier keys outside of the mouse and
keyboard callbacks.
The reason is that these are MODIFIER keys - they MODIFY the function
of other keys or of the mouse - so it doesn't make sense to read them
other than when other keys/mouse are doing something.
> Or, is there a new callback function (say, KeyboardModifierFunc) to add to
> the wish list ?
Nope - not going to happen because it's not possible for such functions
to be portable.
Sorry!
-------------------------------------------------------------------------
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