centos man page for glutspaceballbuttonfunc

Query: glutspaceballbuttonfunc

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNTITLED
LOCAL UNTITLED
NAME
glutSpaceballButtonFunc -- Sets a spaceball button callback.
LIBRARY
OpenGLUT - input
SYNOPSIS
#include <openglut.h> void glutSpaceballButtonFunc(void( *callback )( int button, int state ));
PARAMETERS
callback Client spaceball button hook.
DESCRIPTION
This function registers a callback for a spaceball to report buttons. A spaceball has six axes of freedom (three of motion and three of ori- entation), plus buttons. The spaceball has glutDeviceGet( GLUT_NUM_SPACEBALL_BUTTONS) and numbers them from 1. Button state is either GLUT_UP or GLUT_DOWN. The callback is bound to the current window .
CAVEATS
OpenGLUT does not implement spaceball support. In contrast, mouse buttons are numbered from 0 in the GLUT API. This is a wrinkle.
SEE ALSO
glutSpaceballRotateFunc(3) glutSpaceballMotiononFunc,(3) Epoch
Related Man Pages
glutmousefunc(3glut) - mojave
glutmousefunc(3) - centos
glutspaceballbuttonfunc(3glut) - suse
glutmousefunc(3glut) - osx
glutspaceballbuttonfunc(3glut) - osx
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Docker learning Phase-I
Unsure why access time on a directory change isn't changing
Controlling user input
[TIP] Processing YAML files with yq