Query: glutgetmodifiers
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UNTITLEDLOCAL UNTITLEDNAMEglutGetModifiers -- Returns the status of Alt, Shift, and Ctrl keys.LIBRARYOpenGLUT - inputstateSYNOPSIS#include <openglut.h> int glutGetModifiers(void);DESCRIPTIONAccording to which, if any, modifier keys are held, the return value is the logical OR combination of any of the following symbolic bit- masks: - GLUT_ACTIVE_SHIFT - GLUT_ACTIVE_CTRL - GLUT_ACTIVE_ALT E.g., if the shift key is held, and no other modifier keys are held, this function will return GLUT_ACTIVE_SHIFT.BUGSComplains if not invoked by a client callback. Does not differentiate between the left and right forms of the modifiers.SEE ALSOglutSetOption(3) glutGet(3) glutDeviceGet(3) glutLayerGet(3) Epoch