From a55a37aef8df0facccab06015614eb23abb95220 Mon Sep 17 00:00:00 2001 From: Craig Carnell <1188869+cscd98@users.noreply.github.com> Date: Mon, 8 Dec 2025 19:50:40 +0000 Subject: [PATCH] mingw: add missing define for XINPUT_DLL --- .../Core/InputCommon/ControllerInterface/XInput/XInput.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp index ebe79f8984..8bdd378bfa 100644 --- a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp +++ b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp @@ -7,6 +7,12 @@ #define XINPUT_GAMEPAD_GUIDE 0x0400 #endif +#if defined(__MINGW32__) +#ifndef XINPUT_DLL +#define XINPUT_DLL L"xinput1_4.dll" +#endif +#endif + namespace ciface::XInput { struct ButtonDef