mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-11-16 11:03:32 +01:00
Merge pull request #6166 from ligfx/invokedeviceschangedcallbacks
ControllerInterface: cleanup callbacks API and logic
This commit is contained in:
10 files changed
+78
-50
No files matched your search
@@ -213,7 +213,7 @@ void Initialize()
|
||||
if (s_config.ControllersNeedToBeCreated())
|
||||
s_config.CreateController<HotkeyManager>();
|
||||
|
||||
g_controller_interface.RegisterHotplugCallback(LoadConfig);
|
||||
g_controller_interface.RegisterDevicesChangedCallback(LoadConfig);
|
||||
|
||||
// load the saved controller config
|
||||
s_config.LoadConfig(true);
|
||||
|
||||
Reference in new issue
Block a user