glutsetkeyrepeat(3) - Linux man page

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)

BSD Epoch BSD