glutPassiveMotionFunc (3) - Linux Manuals
glutPassiveMotionFunc: Sets the non-dragging (gliding?) mouse-motion callback.
NAMEglutPassiveMotionFunc - Sets the non-dragging (gliding?) mouse-motion callback.
LIBRARYOpenGLUT - input
SYNOPSISIn openglut.h Ft void Fn glutPassiveMotionFunc void( *callback )( int x int y )
DESCRIPTIONIf you set this callback on a window, then every time that OpenGLUT detects a change in the mouse position inside that window, with no buttons pressed on that mouse, OpenGLUT will invoke Bf Sy
This callback is bound to the
CAVEATSWindows created via glutCreateMenuWindow() always cascade keyboard and mouse events to their parent.
SEE ALSOglutMotionFunc(3) glutMouseFunc(3) glutEntryFunc(3)