Home Man
Search
Today's Posts
Register

Linux & Unix Commands - Search Man Pages

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

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


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

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password