Add support for controller on Android

This commit is contained in:
SSimco
2023-07-02 22:05:55 +03:00
parent 8006ec36ef
commit 29841a3fb2
43 changed files with 1801 additions and 135 deletions
+3
View File
@@ -46,6 +46,9 @@ InputManager::InputManager()
#if HAS_WIIMOTE
create_provider<WiimoteControllerProvider>();
#endif
#if __ANDROID__
create_provider<AndroidControllerProvider>();
#endif
m_update_thread_shutdown.store(false);
m_update_thread = std::thread(&InputManager::update_thread, this);