GLUTSETKEYREPEAT(3)

NAME
glutSetKeyRepeat - Sets autorepeat behavior for all OpenGLUT windows.

LIBRARY
OpenGLUT - inputstate

SYNOPSIS
#include <openglut.h>
void
glutSetKeyRepeat(int repeatMode);

PARAMETERS

repeatMode 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 repeatMode are:

- GLUT_KEY_REPEAT_OFF

Turn off repeat for all windows. - GLUT_KEY_REPEAT_ON

Turn on repeat for all windows. - GLUT_KEY_REPEAT_DEFAULT

Respect the window's setting.

SEE ALSO
glutIgnoreKeyRepeat(3)