Scroll to navigation

GLUTKEYBOARDUPFUNC(3) Library Functions Manual (local) GLUTKEYBOARDUPFUNC(3)

NAME

glutKeyboardUpFuncSets the keyboard key release callback for the current window.

LIBRARY

OpenGLUT - input

SYNOPSIS

#include <openglut.h>

void
glutKeyboardUpFunc(void( *callback )( unsigned char key, int x, int y ));

PARAMETERS


callback

Client hook for ASCII key releases.

DESCRIPTION

This function provides a way to detect the release of a keyboard key. The keys are reported exactly as with glutKeyboardFunc(), save that the


callback

registered via this function is used to report the event.

This callback is bound to the


current window

.

CAVEATS

Windows created via glutCreateMenuWindow() always cascade keyboard and mouse events to their parent.

SEE ALSO

glutKeyboardFunc(3) glutSpecialUpFunc(3)