mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Merge pull request #6166 from ligfx/invokedeviceschangedcallbacks
ControllerInterface: cleanup callbacks API and logic
This commit is contained in:
commit
4733bbd8f3
10 changed files with 78 additions and 50 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue