Unix/Linux Go Back    


CentOS 7.0 - man page for glutjoystickfunc (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


UNTITLED				      LOCAL					 UNTITLED

NAME
     glutJoystickFunc -- Reports joystick state for the current window.

LIBRARY
     OpenGLUT - input

SYNOPSIS
     #include <openglut.h>

     void
     glutJoystickFunc(void( *callback )( unsigned int buttons, int xaxis, int yaxis, int zaxis ),
	 int pollInterval);

PARAMETERS
      callback	     Client function for joystick events

      pollInterval   Approximate (minimum) millisecond interval

DESCRIPTION
     The callback is called roughly every  pollinterval  milliseconds, and will give the joystick
     status.

     The  buttons  bitmask is a bit-wise  OR  of:
      - GLUT_JOYSTICK_BUTTON_A
      - GLUT_JOYSTICK_BUTTON_B
      - GLUT_JOYSTICK_BUTTON_C
      - GLUT_JOYSTICK_BUTTON_D

     The axis values are in the range [-1000,1000].

					      Epoch
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 06:49 AM.