diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-30 22:38:03 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-30 22:38:03 +0100 |
commit | 9661f0b823e7b63c4ddbcd8042c559cd5a7f7773 (patch) | |
tree | ef9c3d3957df6eee21c8b363816b7d2f3baa69dd /include/Overlay.hpp | |
parent | 6cde892148e2643a3cd1ba80c3669bc035fc1fea (diff) |
Add more reliable mouse/keyboard grabbing to fix keyboard input not working in ui in some games
Diffstat (limited to 'include/Overlay.hpp')
-rw-r--r-- | include/Overlay.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Overlay.hpp b/include/Overlay.hpp index bf49a42..bfa8db4 100644 --- a/include/Overlay.hpp +++ b/include/Overlay.hpp @@ -60,6 +60,7 @@ namespace gsr { void xi_setup(); void handle_xi_events(); void process_key_bindings(mgl::Event &event); + void grab_mouse_and_keyboard(); void xi_setup_fake_cursor(); void xi_grab_all_devices(); void xi_warp_pointer(mgl::vec2i position); |