glutGetModifiers (3) - Linux Manuals
glutGetModifiers: Returns the status of Alt, Shift, and Ctrl keys.
NAME
glutGetModifiers - Returns the status of Alt, Shift, and Ctrl keys.LIBRARY
OpenGLUT - inputstateSYNOPSIS
In openglut.h Ft int Fn glutGetModifiers voidDESCRIPTION
According to which, if any, modifier keys are held, the return value is the logical Bf Sy
E.g., if the shift key is held, and no other modifier
keys are held, this function will return
Bf Sy
Does not differentiate between the left and right forms of the modifiers.
BUGS
Complains if not invoked by a client callback.