glutSpecialFunc man page
glutSpecialFunc — Sets the Special callback for the current window
OpenGLUT - input
glutSpecialFunc(void( *callback )( int key, int x, int y ));
Client function for keyboard event.
for OpenGLUT to call when the user presses "special" keys on the keyboard.
The special callback handles some additional keys that are not covered under plain "keyboard" events. The
that is passed to the
is one of an enumerated set. The association to keys on your keyboard should be obvious. Their GLUT symbol names are:
To receive other keys, see glutKeyboardFunc().
This callback is bound to the
Many keys are not included; nor is it possible to apply qualifiers such as the Shift or Ctrl key to these keys.
Windows created via glutCreateMenuWindow() always cascade keyboard and mouse events to their parent.
glutCreateMenuWindow(3), glutKeyboardFunc(3), glutSpecialUpFunc(3).
Explore man page connections for glutSpecialFunc(3).