mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-02-02 13:54:36 +01:00
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:
parent
c04fe10bac
commit
985c601df9
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue