#include "joystick_PC.h"#include "stdafx.h"#include <windows.h>#include <mmsystem.h>Include dependency graph for joystick_PC.cpp:

Go to the source code of this file.
Functions | |
| int | joystick_init () |
| Initializes joystick stuff. | |
| void | joystick_getXYZR (float *X, float *Y, float *Z, float *R, bool doX, bool doY, bool doZ, bool doR) |
| Get joystick position under MS Windows. | |
| void | joystick_close () |
| Close joystick under MS Windoze. | |
Variables | |
| JOYINFOEX | ActualPos |
| DWORD | dwBoutons |
| UINT | uMax [2] |
| UINT | uMin [2] |
| UINT | uPoolPeriod |
| JOYCAPS | InfosCaps |
| BOOL | bStop |
| POINT | Curseur |
Definition in file joystick_PC.cpp.
|
|
Close joystick under MS Windoze. No need to close anything under Windows => this function does nothing... Definition at line 89 of file joystick_PC.cpp. Referenced by draw_graphics_kill(). |
|
||||||||||||||||||||||||||||||||||||
|
Get joystick position under MS Windows. Get the joystick positions for the axes specified. Values should be between -1.0 and 1.0
Definition at line 68 of file joystick_PC.cpp. References ActualPos, and f(). Referenced by DrawGLScene(). |
|
|
Initializes joystick stuff. Use Windows API to initialize joystick (if any connected) Definition at line 36 of file joystick_PC.cpp. References ActualPos, dwBoutons, InfosCaps, and uPoolPeriod. Referenced by draw_graphics_init(). |
|
|
Definition at line 27 of file joystick_PC.cpp. Referenced by joystick_getXYZR(), and joystick_init(). |
|
|
Definition at line 32 of file joystick_PC.cpp. |
|
|
Definition at line 33 of file joystick_PC.cpp. |
|
|
Definition at line 28 of file joystick_PC.cpp. Referenced by joystick_init(). |
|
|
Definition at line 31 of file joystick_PC.cpp. Referenced by joystick_init(). |
|
|
Definition at line 29 of file joystick_PC.cpp. |
|
|
Definition at line 29 of file joystick_PC.cpp. |
|
|
Definition at line 30 of file joystick_PC.cpp. Referenced by joystick_init(). |
1.4.6-NO