#include "../fb_gfx.h"
#include "fb_gfx_win32.h"
#include <mmsystem.h>
Go to the source code of this file.
|
#define | CALCPOS(pos, min, max) (((((float)(pos) - (float)(min)) * 2.0) / ((float)(max) - (float)(min) + 1.0)) - 1.0) |
|
#define | POV_LAP 2250 |
|
|
FBCALL int | fb_GfxGetJoystick (int id, ssize_t *buttons, float *a1, float *a2, float *a3, float *a4, float *a5, float *a6, float *a7, float *a8) |
|
#define CALCPOS |
( |
|
pos, |
|
|
|
min, |
|
|
|
max |
|
) |
| (((((float)(pos) - (float)(min)) * 2.0) / ((float)(max) - (float)(min) + 1.0)) - 1.0) |
FBCALL int fb_GfxGetJoystick |
( |
int |
id, |
|
|
ssize_t * |
buttons, |
|
|
float * |
a1, |
|
|
float * |
a2, |
|
|
float * |
a3, |
|
|
float * |
a4, |
|
|
float * |
a5, |
|
|
float * |
a6, |
|
|
float * |
a7, |
|
|
float * |
a8 |
|
) |
| |