GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  GLUTGETMODIFIERS (3)

NAME

glutGetModifiers - returns the modifier key state when certain callbacks were generated.

CONTENTS

Syntax
Description
See Also
Author

SYNTAX


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 window 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)
Search for    or go to Top of page |  Section 3 |  Main Index


GLUT GLUTGETMODIFIERS (3GLUT) 3.7

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.