glutSpecialUpFunc - Man Page

Sets the special key release callback for the current window

Library

OpenGLUT - input

Synopsis

#include <openglut.h>

void
glutSpecialUpFunc(void( *callback )( int key, int x, int y ));

Parameters


callback

Client hook for special key releases.

Description

This function provides a way to detect the release of a keyboard


key.

The keys are reported exactly as with glutSpecialFunc(), 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

glutSpecialFunc(3) glutKeyboardUpFunc(3)

Referenced By

glutCreateMenuWindow(3), glutKeyboardUpFunc(3), glutSpecialFunc(3).