glutSpecialUpFunc (3) - Linux Manuals

glutSpecialUpFunc: Sets the special key release callback for the current window

NAME

glutSpecialUpFunc - Sets the special key release callback for the current window

LIBRARY

OpenGLUT - input

SYNOPSIS

In openglut.h Ft void Fn glutSpecialUpFunc void( *callback )( int key int x int y )

PARAMETERS

Bf Em
 callback Ef
    Client hook for special key releases.

DESCRIPTION

This function provides a way to detect the release of a keyboard Bf Sy
 key. Ef
  The keys are reported exactly as with glutSpecialFunc(), 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.