diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-20 19:22:16 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-20 19:22:16 +0100 |
commit | a0d8af9d372ac3847cbae9dc9c647abf57227e3c (patch) | |
tree | a9bf3be57410b3d2202ff28b24ffa209c08800b4 /include | |
parent | 71b6c395ca868a3c138585d05bcb72041c294cb3 (diff) |
Add controller hotkey to show/hide ui
Diffstat (limited to 'include')
-rw-r--r-- | include/GlobalHotkeysJoystick.hpp | 2 | ||||
-rw-r--r-- | include/Theme.hpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/GlobalHotkeysJoystick.hpp b/include/GlobalHotkeysJoystick.hpp index 1effe3c..30a7689 100644 --- a/include/GlobalHotkeysJoystick.hpp +++ b/include/GlobalHotkeysJoystick.hpp @@ -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; }; diff --git a/include/Theme.hpp b/include/Theme.hpp index bda8dd4..4305072 100644 --- a/include/Theme.hpp +++ b/include/Theme.hpp @@ -44,6 +44,7 @@ namespace gsr { mgl::Texture screenshot_texture; mgl::Texture ps4_home_texture; + mgl::Texture ps4_options_texture; mgl::Texture ps4_dpad_up_texture; mgl::Texture ps4_dpad_down_texture; mgl::Texture ps4_dpad_left_texture; |