Rechercher une page de manuel
glutGetModifiers
Langue: en
Version: 156909 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutGetModifiers - Returns the status of Alt, Shift, and Ctrl keys.LIBRARY
OpenGLUT - inputstateSYNOPSIS
In openglut.h Ft int Fn glutGetModifiers voidDESCRIPTION
According to which, if any, modifier keys are held, the return value is the logical Bf SyOR Ef
combination of any of the following symbolic bitmasks:
- Bf Sy
GLUT_ACTIVE_SHIFT Ef
- Bf Sy
GLUT_ACTIVE_CTRL Ef
- Bf Sy
GLUT_ACTIVE_ALT Ef
E.g., if the shift key is held, and no other modifier keys are held, this function will return Bf Sy
GLUT_ACTIVE_SHIFT. Ef
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)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre