fix: Controller now works again (window.h was being included, and setting dx version to 3, which doesn't support joysticks)

This commit is contained in:
Brian Matzon 2003-05-08 21:30:30 +00:00
parent c04fe10bac
commit 985c601df9

View file

@ -44,12 +44,12 @@
#undef DIRECTINPUT_VERSION
#define DIRECTINPUT_VERSION 0x0500
#include <dinput.h>
#include "Window.h"
#define CONTROLLER_AXISMAX 1000 // Maxmimum range to which we'll gauge the swing
#define CONTROLLER_AXISMIN -1000 // Minimum range to which we'll gauge the swing
extern HINSTANCE dll_handle;
extern HWND hwnd;
IDirectInput* cDI; // DI instance
IDirectInputDevice2* cDIDevice; // DI Device instance