diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-20 23:11:00 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-20 23:11:00 +0100 |
commit | 47ada4d79844d9a98d9689d0de0c92864e0fc372 (patch) | |
tree | 1325fd3061e78a194b3db0be848a06928fdacce9 /include/Overlay.hpp | |
parent | 92401d8bc8fa3cbc8017936eb1d18280199942e0 (diff) |
Add option to save replay with controller (double-click share button), allow prime-run on wayland
Diffstat (limited to 'include/Overlay.hpp')
-rw-r--r-- | include/Overlay.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Overlay.hpp b/include/Overlay.hpp index 9f1a5ae..2ccfb02 100644 --- a/include/Overlay.hpp +++ b/include/Overlay.hpp @@ -61,6 +61,9 @@ namespace gsr { void exit(); const Config& get_config() const; + + std::function<void(const char *hotkey_option)> on_keyboard_hotkey_changed; + std::function<void(const char *hotkey_option)> on_joystick_hotkey_changed; private: void xi_setup(); void handle_xi_events(); |