glutSetKeyRepeat

Nom

glutSetKeyRepeat -- retrieves simple GLUT state represented by integers.

Prototype

int glutSetKeyRepeat (int repeatMode);

Paramètre

repeatMode
Mode for setting key repeat to.
GLUT_KEY_REPEAT_OFF
Disable key repeat for the window system on a global basis if possible.
GLUT_KEY_REPEAT_ON
Enable key repeat for the window system on a global basis if possible.
GLUT_KEY_REPEAT_DEFAULT
Reset the key repeat mode for the window system to its default state if possible.

Description

Voir aussi

glutIgnoreKeyRepeat, glutKeyboardFunc, glutSpecialFunc, glutKeyboardUpFunc, glutSpecialUpFunc, glutDeviceGet.