Rechercher une page de manuel
glutJoystickFunc
Langue: en
Version: 167931 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutJoystickFunc - Reports joystick state for the current window.LIBRARY
OpenGLUT - inputSYNOPSIS
In openglut.h Ft void Fn glutJoystickFunc void( *callback )( unsigned int buttons int xaxis int yaxis int zaxis ) int pollIntervalPARAMETERS
Bf Em
callback Ef
Client function for joystick events
Bf Em
pollInterval Ef
Approximate (minimum) millisecond interval
DESCRIPTION
The callback is called roughly every Bf Sypollinterval Ef
milliseconds, and will give the joystick status.
The Bf Sy
buttons Ef
bitmask is a bit-wise Bf Sy
OR Ef
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].
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre