Merge pull request #6166 from ligfx/invokedeviceschangedcallbacks

ControllerInterface: cleanup callbacks API and logic
This commit is contained in:
Leo Lam authored and GitHub committed 2017-12-15 21:05:17 +01:00
commit 4733bbd8f3
10 files changed
+78 -50

No files matched your search

+1 -1
View File
@@ -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);