UI: Add configurable hotkeys + a new fast forward hotkey (#1519)

This commit is contained in:
AnimeGIF 2025-07-08 00:55:57 +03:00 committed by GitHub
parent e68c31e5fb
commit cdca5eaf78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 619 additions and 8 deletions

View file

@ -1,4 +1,6 @@
#include "input/api/Controller.h"
#include "config/CemuConfig.h"
#include "gui/input/HotkeySettings.h"
#include "gui/guiWrapper.h"
@ -67,6 +69,8 @@ const ControllerState& ControllerBase::update_state()
#undef APPLY_AXIS_BUTTON
HotkeySettings::CaptureInput(result, m_last_state);
m_last_state = std::move(result);
return m_last_state;
}