This manual page is for Mac OS X version 10.6

If you are running a different version of Mac OS X, view the documentation locally:

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



glutIgnoreKeyRepeat(3GLUT)                          GLUT                          glutIgnoreKeyRepeat(3GLUT)



NAME
       glutIgnoreKeyRepeat - determines if auto repeat keystrokes are reported to the current window

SYNTAX
       void glutIgnoreKeyRepeat(int ignore);

ARGUMENTS
       ignore    Non-zero  indicates  auto repeat keystrokes should not be reported by the keyboard and spe-cial special
                 cial callbacks; zero indicates that auto repeat keystrokes will be reported.

DESCRIPTION
       glutIgnoreKeyRepeat determines if auto repeat keystrokes are reported to  the  current  window.   The
       ignore     auto     repeat     state     of    a    window    can    be    queried    with    glutDe-viceGet(GLUT_DEVICE_IGNORE_KEY_REPEAT). glutDeviceGet(GLUT_DEVICE_IGNORE_KEY_REPEAT).
       viceGet(GLUT_DEVICE_IGNORE_KEY_REPEAT).

       Ignoring auto repeated keystrokes is generally done in conjunction with using the  glutKeyboardUpFunc
       and  glutSpecialUpFunc  callbacks  to  repeat  key releases.  If you do not ignore auto repeated key-strokes, keystrokes,
       strokes, your GLUT application will experience repeated release/press  callbacks.   Games  using  the
       keyboard will typically want to ignore key repeat.

GLUT IMPLEMENTATION NOTES FOR X11
       X11 sends KeyPress events repeatedly when the window system's global auto repeat is enabled.  glutIg-noreKeyRepeat glutIgnoreKeyRepeat
       noreKeyRepeat can prevent these auto repeated keystrokes from being reported as keyboard  or  special
       callbacks,  but  there  is still some minimal overhead by the X server to continually stream KeyPress
       events to the GLUT application.  The glutSetKeyRepeat routine can be used  to  actually  disable  the
       global  sending of auto repeated KeyPress events.  Note that glutSetKeyRepeat affects the global win-dow window
       dow system auto repeat state so other applications will not auto repeat if you  disable  auto  repeat
       globally through glutSetKeyRepeat.

SEE ALSO
       glutSetKeyRepeat(3G),  glutDeviceGet(3G),  glutKeyboardFunc(3G),  glutKeyboardUpFunc(3G),  glutSpecialFunc(3G),  glutSpe-cialUpFunc(3G) glutSpecialUpFunc(3G)
       cialUpFunc(3G)


AUTHOR
       Mark J. Kilgard ([email protected])



GLUT                                                 3.7                          glutIgnoreKeyRepeat(3GLUT)

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.