mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 14:58:32 +00:00
Add hotplug support to DInput and XInput controller backends
This commit is contained in:
parent
92ca6e124e
commit
d26c1ce24d
5 changed files with 123 additions and 10 deletions
|
@ -46,7 +46,7 @@ void ControllerInterface::Initialize(const WindowSystemInfo& wsi)
|
|||
m_is_populating_devices = true;
|
||||
|
||||
#ifdef CIFACE_USE_WIN32
|
||||
ciface::Win32::Init();
|
||||
ciface::Win32::Init(wsi.render_surface);
|
||||
#endif
|
||||
#ifdef CIFACE_USE_XLIB
|
||||
// nothing needed
|
||||
|
@ -154,7 +154,7 @@ void ControllerInterface::Shutdown()
|
|||
ciface::Win32::DeInit();
|
||||
#endif
|
||||
#ifdef CIFACE_USE_XLIB
|
||||
// nothing needed
|
||||
// nothing needed
|
||||
#endif
|
||||
#ifdef CIFACE_USE_OSX
|
||||
ciface::OSX::DeInit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue