glutSpaceballButtonFunc man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

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 orienta‐
     tion), plus buttons.  The spaceball has glutDeviceGet(  GLUT_NUM_SPACE‐
     BALL_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
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net