mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-11 13:26:17 +02:00
Common: Remove the string parameters from the HookableEvent interface.
This commit is contained in:
1 parent
5650be6842
commit
da6c65bf3b
27 files changed
+83
-125
No files matched your search
@@ -172,11 +172,10 @@ void InputConfig::RegisterHotplugCallback()
|
||||
{
|
||||
// Update control references on all controllers
|
||||
// as configured devices may have been added or removed.
|
||||
m_hotplug_event_hook =
|
||||
g_controller_interface.RegisterDevicesChangedCallback("InputConfig", [this] {
|
||||
for (auto& controller : m_controllers)
|
||||
controller->UpdateReferences(g_controller_interface);
|
||||
});
|
||||
m_hotplug_event_hook = g_controller_interface.RegisterDevicesChangedCallback([this] {
|
||||
for (auto& controller : m_controllers)
|
||||
controller->UpdateReferences(g_controller_interface);
|
||||
});
|
||||
}
|
||||
|
||||
void InputConfig::UnregisterHotplugCallback()
|
||||
|
||||
Reference in new issue
Block a user