Add controller hotkey to show/hide ui

This commit is contained in:
dec05eba
2025-03-20 19:22:16 +01:00
parent 71b6c395ca
commit a0d8af9d37
8 changed files with 25 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ namespace gsr {
// take_screenshot
// toggle_record
// toggle_replay
// toggle_show
bool bind_action(const std::string &id, GlobalHotkeyCallback callback) override;
void poll_events() override;
private:
@@ -58,6 +59,7 @@ namespace gsr {
bool take_screenshot = false;
bool toggle_record = false;
bool toggle_replay = false;
bool toggle_show = false;
int hotplug_poll_index = -1;
Hotplug hotplug;
};