From a0aa506453195d99d8b7e1c0297bb1e285428d0c Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 10 Jul 2010 06:48:24 +0000 Subject: GCPad/Wiimote New: Added a set defaults button to the config dialog. (gave new wiimote plugin a few default buttons, not done) Moved MSWindows cursor position code to ControllerInterface/DInput (plan on moving Linux's cursor code to Xlib as well). IR Up,Down,L,R now must have Cursor X/Y/-+ mapped for regular mouse control on Windows. (hopefully this isn't too confusing, the reset to default button automatically sets this up). Renamed One,Two,Minus,Plus to 12-+ (you will have to reconfigure these buttons, sorry). Added text labels for the button and trigger preview bitmaps. -other minor stuff. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5865 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp') diff --git a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp index cfdb114425..36e6bd98f8 100644 --- a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp +++ b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp @@ -31,7 +31,7 @@ void ControllerInterface::Init() return; #ifdef CIFACE_USE_DINPUT - ciface::DInput::Init(m_devices); + ciface::DInput::Init(m_devices, (HWND)m_hwnd); #endif #ifdef CIFACE_USE_XINPUT ciface::XInput::Init(m_devices); -- cgit v1.2.3