UNTITLED LOCAL UNTITLED
NAMEglutSetKeyRepeat — Sets autorepeat behavior for all OpenGLUT windows.
LIBRARY
OpenGLUT - inputstate
SYNOPSIS
#include <openglut.h>
void
glutSetKeyRepeat(int repeatMode);
PARAMETERS
repeatMode On, Off or Default.
DESCRIPTIONglutSetKeyRepeat() 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 ALSOglutIgnoreKeyRepeat(3)
Epoch