From a82adcd5d36a61abcf06d3b7de335002c4f0bea4 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sat, 12 Jun 2010 12:57:28 +0000 Subject: Made GCPadNew load the same defaults as old GCPad if GCPadNew.ini doesn't exist. (haven't tested Linux/OS X) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5654 8ced0084-cf51-0410-be5f-012b33b47a6e --- .../InputCommon/Src/ControllerInterface/ControllerInterface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (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 35b006a211..78a4d81244 100644 --- a/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp +++ b/Source/Core/InputCommon/Src/ControllerInterface/ControllerInterface.cpp @@ -33,12 +33,12 @@ void ControllerInterface::Init() if ( m_is_init ) return; -#ifdef CIFACE_USE_XINPUT - ciface::XInput::Init( m_devices ); -#endif #ifdef CIFACE_USE_DIRECTINPUT ciface::DirectInput::Init( m_devices/*, (HWND)m_hwnd*/ ); #endif +#ifdef CIFACE_USE_XINPUT + ciface::XInput::Init( m_devices ); +#endif #ifdef CIFACE_USE_XLIB ciface::Xlib::Init( m_devices, m_hwnd ); #endif -- cgit v1.2.3