1UNTITLED LOCAL UNTITLED
2
4 glutSetKeyRepeat — Sets autorepeat behavior for all OpenGLUT windows.
5
7 OpenGLUT - inputstate
8
10 #include <openglut.h>
11
12 void
13 glutSetKeyRepeat(int repeatMode);
14
16 repeatMode On, Off or Default.
17
19 glutSetKeyRepeat() is similar to glutIgnoreKeyRepeat() but sets the
20 behavior for OpenGLUT in general, rather than for a particular window.
21 The options for repeatMode are:
22
23 - GLUT_KEY_REPEAT_OFF
24 Turn off repeat for all windows.
25 - GLUT_KEY_REPEAT_ON
26 Turn on repeat for all windows.
27 - GLUT_KEY_REPEAT_DEFAULT
28 Respect the window's setting.
29
31 glutIgnoreKeyRepeat(3)
32
33
34
35
36 Epoch