InputCommon: Make ControllerInterface RegisterDevicesChangedCallback use Common::HookableEvent.

This commit is contained in:
Jordan Woyak
2025-11-05 17:12:56 -06:00
parent 2170080f53
commit ca6d8e1f0b
7 changed files with 27 additions and 36 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ public:
void GenerateControllerTextures();
private:
ControllerInterface::HotplugCallbackHandle m_hotplug_callback_handle;
Common::EventHook m_hotplug_event_hook;
std::vector<std::unique_ptr<ControllerEmu::EmulatedController>> m_controllers;
const std::string m_ini_name;
const std::string m_gui_name;