Unix and Linux Discussions Tagged with auto |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
8 |
5,642 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
2,069 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
10,784 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
5,231 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
4,542 |
Shell Programming and Scripting |
|
|
|
2 |
4,926 |
OS X (Apple) |
|
|
|
2 |
9,171 |
Shell Programming and Scripting |
|
|
|
2 |
4,444 |
Shell Programming and Scripting |
|
|
|
6 |
10,149 |
Shell Programming and Scripting |
|
|
|
1 |
7,447 |
Windows & DOS: Issues & Discussions |
|
|
|
1 |
2,383 |
Shell Programming and Scripting |
|
|
|
0 |
1,677 |
Software Releases - RSS News |
|
|
|
0 |
1,127 |
Software Releases - RSS News |
|
|
|
3 |
32,601 |
Shell Programming and Scripting |
|
|
|
3 |
17,038 |
Solaris |
|
|
|
0 |
2,261 |
Security Advisories (RSS) - Microsoft |
|
|
|
4 |
33,336 |
Linux |
|
|
|
0 |
1,171 |
Software Releases - RSS News |
|
|
|
0 |
1,131 |
Software Releases - RSS News |
|
|
|
6 |
20,483 |
Shell Programming and Scripting |
|
|
|
6 |
7,239 |
SCO |
|
|
|
3 |
9,549 |
Solaris |
|
|
|
0 |
4,214 |
OS X Support RSS |
|
|
|
0 |
2,684 |
Solaris BigAdmin RSS |
|
|
|
2 |
50,775 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
8,061 |
Solaris |
|
|
|
14 |
19,674 |
Solaris |
|
|
|
0 |
764 |
Software Releases - RSS News |
|
|
|
1 |
4,802 |
Shell Programming and Scripting |
|
|
|
2 |
5,023 |
HP-UX |
|
|
|
2 |
19,175 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
918 |
Software Releases - RSS News |
|
|
|
1 |
5,820 |
HP-UX |
|
|
|
0 |
1,062 |
Software Releases - RSS News |
|
|
|
0 |
1,073 |
UNIX and Linux RSS News |
|
|
|
0 |
868 |
Software Releases - RSS News |
|
|
|
1 |
5,574 |
Linux |
|
|
|
0 |
986 |
Software Releases - RSS News |
|
|
|
1 |
6,163 |
Shell Programming and Scripting |
|
|
|
0 |
933 |
Software Releases - RSS News |
glutIgnoreKeyRepeat(3GLUT) GLUT glutIgnoreKeyRepeat(3GLUT)
NAME
glutIgnoreKeyRepeat - determines if auto repeat keystrokes are reported to the current window
SYNTAX
void glutIgnoreKeyRepeat(int ignore);
ARGUMENTS
ignore Non-zero indicates auto repeat keystrokes should not be reported by the keyboard and special callbacks; zero indicates that auto
repeat keystrokes will be reported.
DESCRIPTION
glutIgnoreKeyRepeat determines if auto repeat keystrokes are reported to the current window. The ignore auto repeat state of a window can
be queried with glutDeviceGet(GLUT_DEVICE_IGNORE_KEY_REPEAT).
Ignoring auto repeated keystrokes is generally done in conjunction with using the glutKeyboardUpFunc and glutSpecialUpFunc callbacks to
repeat key releases. If you do not ignore auto repeated keystrokes, your GLUT application will experience repeated release/press call-
backs. Games using the keyboard will typically want to ignore key repeat.
GLUT IMPLEMENTATION NOTES FOR X11
X11 sends KeyPress events repeatedly when the window system's global auto repeat is enabled. glutIgnoreKeyRepeat can prevent these auto
repeated keystrokes from being reported as keyboard or special callbacks, but there is still some minimal overhead by the X server to con-
tinually stream KeyPress events to the GLUT application. The glutSetKeyRepeat routine can be used to actually disable the global sending
of auto repeated KeyPress events. Note that glutSetKeyRepeat affects the global window system auto repeat state so other applications will
not auto repeat if you disable auto repeat globally through glutSetKeyRepeat.
SEE ALSO
glutSetKeyRepeat, glutDeviceGet, glutKeyboardFunc, glutKeyboardUpFunc, glutSpecialFunc, glutSpecialUpFunc
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutIgnoreKeyRepeat(3GLUT)