mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 00:59:44 +00:00
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
This commit is contained in:
parent
ce3c2700e7
commit
a82adcd5d3
8 changed files with 110 additions and 15 deletions
|
@ -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
|
||||
|
|
|
@ -454,8 +454,7 @@ GETDEVDATA :
|
|||
if (DIERR_INPUTLOST == hr || DIERR_NOTACQUIRED == hr)
|
||||
hr = m_device->Acquire();
|
||||
|
||||
return true;
|
||||
//return SUCCEEDED(hr);
|
||||
return SUCCEEDED(hr);
|
||||
}
|
||||
|
||||
bool Joystick::UpdateOutput()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue