Remove guiWrapper from gui project & replace all functions with callbacks

This commit is contained in:
SSimco
2023-07-29 09:38:31 +03:00
parent 7cf80d26e2
commit 67e171c48e
52 changed files with 932 additions and 914 deletions
+12
View File
@@ -60,6 +60,18 @@ InputManager::~InputManager()
m_update_thread.join();
}
bool s_input_config_window_has_focus = false;
bool InputManager::input_config_window_has_focus()
{
return s_input_config_window_has_focus;
}
void InputManager::set_input_config_window_focus(bool has_focus)
{
s_input_config_window_has_focus = has_focus;
}
void InputManager::load() noexcept
{
for (size_t i = 0; i < kMaxController; ++i)