glutspecialupfunc(3) - Linux man page

Name

glutSpecialUpFunc - 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)

BSD Epoch BSD

Referenced By

glutcreatemenuwindow(3)