centos man page for glutgetmodifiers

Query: glutgetmodifiers

OS: centos

Section: 3

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

UNTITLED
LOCAL UNTITLED
NAME
glutGetModifiers -- Returns the status of Alt, Shift, and Ctrl keys.
LIBRARY
OpenGLUT - inputstate
SYNOPSIS
#include <openglut.h> int glutGetModifiers(void);
DESCRIPTION
According 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.
BUGS
Complains if not invoked by a client callback. Does not differentiate between the left and right forms of the modifiers.
SEE ALSO
glutSetOption(3) glutGet(3) glutDeviceGet(3) glutLayerGet(3) Epoch
Related Man Pages
glutdeviceget(3) - centos
glutget(3) - centos
glutmousefunc(3) - centos
glutsetoption(3) - centos
glutkeyboardupfunc(3glut) - suse
Similar Topics in the Unix Linux Community
Is UNIX an open source OS ?
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
How to increment version inside a file?
Controlling user input