osx man page for glutgetmodifiers

Query: glutgetmodifiers

OS: osx

Section: 3glut

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

glutGetModifiers(3GLUT) 					       GLUT						   glutGetModifiers(3GLUT)

NAME
glutGetModifiers - returns the modifier key state when certain callbacks were generated.
SYNTAX
#include <GLUT/glut.h> int glutGetModifiers(void);
DESCRIPTION
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 win- dow 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: GLUT_ACTIVE_SHIFT Set if the Shift modifier or Caps Lock is active. GLUT_ACTIVE_CTRL Set if the Ctrl modifier is active. GLUT_ACTIVE_ALT Set if the Alt modifier is active.
SEE ALSO
glutSpecialFunc, glutKeyboardFunc, glutMouseFunc
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutGetModifiers(3GLUT)
Related Man Pages
glutkeyboardfunc(3glut) - mojave
glutspecialfunc(3glut) - mojave
glutkeyboardfunc(3glut) - redhat
glutkeyboardupfunc(3glut) - redhat
glutkeyboardfunc(3glut) - suse
Similar Topics in the Unix Linux Community
AIX Links
Installing Dash Shell on OS X Lion
Hearing Aid for OSX 10.12.x and greater.
Shopt -s histappend
A dash to GOTO or a dash from GOTO, that is the question...