Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

CentOS 7.0 - man page for glutgetmodifiers (centos section 3)

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 bitmasks:

      -  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


All times are GMT -4. The time now is 05:42 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password