version 1.1 | | version 1.2 |
---|
| | |
#include "types.h" | | #include "types.h" |
#include "joy.h" | | #include "joy.h" |
#include "timer.h" | | #include "timer.h" |
| | #include "args.h" |
| | |
#define my_hwnd g_hWnd // D1X compatibility | | #define my_hwnd g_hWnd // D1X compatibility |
extern HWND g_hWnd; | | extern HWND g_hWnd; |
| | |
int i; | | int i; |
int temp_axis[JOY_NUM_AXES]; //changed - orulz | | int temp_axis[JOY_NUM_AXES]; //changed - orulz |
JOYCAPS pjc; | | JOYCAPS pjc; |
| | |
| | if (FindArg( "-nojoystick" )) |
| | return 0; |
| | |
atexit(joy_close); //HH: we are a bit lazy :). Errors are ignored, so we are even double-lazy :) | | atexit(joy_close); //HH: we are a bit lazy :). Errors are ignored, so we are even double-lazy :) |
| | |