mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-24 10:37:01 +00:00
UI: Add configurable hotkeys + a new fast forward hotkey (#1519)
This commit is contained in:
parent
e68c31e5fb
commit
cdca5eaf78
15 changed files with 619 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue