From de3ad372998f3c0c7fb4fb47fde8d3b2edd79759 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Mon, 11 Oct 2010 22:19:47 +0000 Subject: WiimoteNew: Made emulated wiimote return read error when motion plus register area is read.(Fixes "Sonic the Hedgehog 4" input, perhaps others) GCPad/WiimoteNew: Made DirectInput use the Dolphin window hwnd for SetCoopLevel instead of GetForegroundWindow.(attempt to fix issue where gamepads sometimes don't work until "Refresh" is pressed) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6269 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/InputCommon/Src/ControllerInterface/DInput/DInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/Src/ControllerInterface/DInput/DInput.cpp') diff --git a/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInput.cpp b/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInput.cpp index 806fd31f3d..e09bd2fdd9 100644 --- a/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInput.cpp +++ b/Source/Core/InputCommon/Src/ControllerInterface/DInput/DInput.cpp @@ -71,7 +71,7 @@ void Init(std::vector& devices, HWND hwnd) InitKeyboardMouse(idi8, devices, hwnd); #endif #ifdef CIFACE_USE_DINPUT_JOYSTICK - InitJoystick(idi8, devices/*, hwnd*/); + InitJoystick(idi8, devices, hwnd); #endif idi8->Release(); -- cgit v1.2.3