Manpage of glutGetModifiers
Return to Main Contents
glutGetModifiers - returns the modifier key state when certain
callbacks were generated.
glutGetModifiers returns the modifier key state at the time the
input event for a keyboard, special, or mouse callback is generated.
This routine may only be called while a keyboard, special, or mouse
callback is being handled. The window system is permitted to intercept
window system defined modifier key strokes or mouse buttons, in
which case, no GLUT callback will be generated. This interception
will be independent of use of glutGetModifiers.
The bitmask components of the returned integer value are:
Set if the Shift modifier or Caps Lock is active.
Set if the Ctrl modifier is active.
Set if the Alt modifier is active.
glutSpecialFunc, glutKeyboardFunc, glutMouseFunc
Mark J. Kilgard (firstname.lastname@example.org)
- SEE ALSO
This document was created by
using the manual pages.
Time: 13:00:47 GMT, March 25, 2001