diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-02-03 19:58:42 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-02-03 19:58:42 +0100 |
commit | 2a0782eb02058f6f174590881be5a9f1eccfdc89 (patch) | |
tree | 65044d945f3b6972acb5a91b3f8154567a801d11 /tools/gsr-global-hotkeys/keys.h | |
parent | f505323d564908ce7931c279371a66225b218bf5 (diff) |
Attempt to fix global hotkeys not working on steam deck (grabs keys, cant press buttons)
Diffstat (limited to 'tools/gsr-global-hotkeys/keys.h')
-rw-r--r-- | tools/gsr-global-hotkeys/keys.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/gsr-global-hotkeys/keys.h b/tools/gsr-global-hotkeys/keys.h new file mode 100644 index 0000000..11d0d92 --- /dev/null +++ b/tools/gsr-global-hotkeys/keys.h @@ -0,0 +1,10 @@ +#ifndef KEYS_H +#define KEYS_H + +#include <stdbool.h> +#include <stdint.h> + +bool is_key_or_mouse_button(uint32_t keycode); +bool is_mouse_button(uint32_t keycode); + +#endif /* KEYS_H */ |