diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2010-10-11 22:19:47 +0000 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2010-10-11 22:19:47 +0000 |
| commit | de3ad372998f3c0c7fb4fb47fde8d3b2edd79759 (patch) | |
| tree | 14f161574e72f0858ae9c76b218326dff66e85eb /Source/Core/InputCommon/Src/ControllerInterface/DInput/DInput.cpp | |
| parent | 7733b84bc134e3aeeeb47a89521dd00e8b122754 (diff) | |
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
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/DInput/DInput.cpp')
| -rw-r--r-- | Source/Core/InputCommon/Src/ControllerInterface/DInput/DInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<ControllerInterface::Device*>& devices, HWND hwnd) InitKeyboardMouse(idi8, devices, hwnd); #endif #ifdef CIFACE_USE_DINPUT_JOYSTICK - InitJoystick(idi8, devices/*, hwnd*/); + InitJoystick(idi8, devices, hwnd); #endif idi8->Release(); |
