glutSetKeyRepeat (3) - Linux Manuals

glutSetKeyRepeat: Sets autorepeat behavior for all OpenGLUT windows.

NAME

glutSetKeyRepeat - Sets autorepeat behavior for all OpenGLUT windows.

LIBRARY

OpenGLUT - inputstate

SYNOPSIS

In openglut.h Ft void Fn glutSetKeyRepeat int repeatMode

PARAMETERS

Bf Em
 repeatMode Ef
    On, Off or Default.

DESCRIPTION

glutSetKeyRepeat() is similar to glutIgnoreKeyRepeat() but sets the behavior for OpenGLUT in general, rather than for a particular window. The options for Bf Sy
 repeatMode Ef
 are:


  Bf Sy
 GLUT_KEY_REPEAT_OFF Ef
     
Turn off repeat for all windows.
  Bf Sy
 GLUT_KEY_REPEAT_ON Ef
      
Turn on repeat for all windows.
  Bf Sy
 GLUT_KEY_REPEAT_DEFAULT Ef
 
Respect the window's setting.

SEE ALSO

glutIgnoreKeyRepeat(3)