View Full Version : Detect modifier key(s) without polling

02-02-2006, 09:18 AM
Is it possible to detect with OpenGL/GLUT if a modifier key (Alt/Shift/Ctrl) is pressed/released?

After searching for an hour or two I got quite annoyed of not finding a way to detect if a modifier key is pressed/released. I'm aware of "int glutGetModifiers(void);" which can not be used as a callback as far as I know. The only option left is polling which is not what I was looking for.

02-02-2006, 11:37 AM
This is not an OpenGL question.