86Box v2.01 Stable/Final with DirectInput instead of XInput for joysticks because XInput is way too limited.

This commit is contained in:
OBattler
2019-10-23 22:58:14 +02:00
parent e1d1c84317
commit fba9bfd01d
4 changed files with 17 additions and 21 deletions

View File

@@ -8,7 +8,7 @@
#
# Makefile for Win32 (MinGW32) environment.
#
# Version: @(#)Makefile.mingw 1.0.137 2019/03/03
# Version: @(#)Makefile.mingw 1.0.138 2019/10/23
#
# Authors: Miran Grca, <mgrca8@gmail.com>
# Fred N. van Kempen, <decwiz@yahoo.com>
@@ -676,7 +676,7 @@ PLATOBJ := win.o \
ifeq ($(DINPUT), y)
PLATOBJ += win_mouse.o win_joystick.o
else
PLATOBJ += win_mouse_rawinput.o win_joystick_xinput.o
PLATOBJ += win_mouse_rawinput.o win_joystick.o
endif
OBJ := $(MAINOBJ) $(INTELOBJ) $(CPUOBJ) $(CHIPSETOBJ) $(MCHOBJ) \
@@ -710,14 +710,12 @@ endif
ifneq ($(WX), n)
LIBS += $(WX_LIBS) -lm
endif
LIBS += -lpng -lz -lwsock32 -liphlpapi
LIBS += -lpng -lz -lwsock32 -liphlpapi -ldinput8
LIBS += -static -lstdc++
ifneq ($(X64), y)
LIBS += -Wl,--large-address-aware
endif
ifeq ($(DINPUT), y)
LIBS += -ldinput8
else
ifneq ($(DINPUT), y)
LIBS += -lxinput
endif