glutKeyboardUpFunc (3) - Linux Manuals

glutKeyboardUpFunc: Sets the keyboard key release callback for the current window.

NAME

glutKeyboardUpFunc - Sets the keyboard key release callback for the current window.

LIBRARY

OpenGLUT - input

SYNOPSIS

In openglut.h Ft void Fn glutKeyboardUpFunc void( *callback )( unsigned char key int x int y )

PARAMETERS

Bf Em
 callback Ef
    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 Bf Sy
 callback Ef
 registered via this function is used to report the event.

This callback is bound to the Bf Li
 current window Ef
 .

CAVEATS

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