glutGetModifiers (3) Linux Manual Page
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
Bugs
Complains if not invoked by a client callback.Does not differentiate between the left and right forms of the modifiers.
