diff options
author | Kasimir Pihlasviita <[email protected]> | 2023-04-03 08:38:44 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2023-04-03 15:38:44 +1000 |
commit | 46844347c4f4b5f8b50ea22dd06c7555a86fc94b (patch) | |
tree | c2e331ae9c46e9dc2764a0992fe3fa9f0b083104 /quantum/action_util.h | |
parent | 1899793f27c9b165b55b28b086bd989f12baf137 (diff) | |
download | qmk_firmware-46844347c4f4b5f8b50ea22dd06c7555a86fc94b.tar.gz qmk_firmware-46844347c4f4b5f8b50ea22dd06c7555a86fc94b.zip |
Fix OSMs getting stuck (#20034)
Diffstat (limited to 'quantum/action_util.h')
-rw-r--r-- | quantum/action_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/action_util.h b/quantum/action_util.h index 0ecf15ae4b..02f6e9e6df 100644 --- a/quantum/action_util.h +++ b/quantum/action_util.h @@ -65,8 +65,10 @@ void clear_oneshot_mods(void); bool has_oneshot_mods_timed_out(void); uint8_t get_oneshot_locked_mods(void); +void add_oneshot_locked_mods(uint8_t mods); void set_oneshot_locked_mods(uint8_t mods); void clear_oneshot_locked_mods(void); +void del_oneshot_locked_mods(uint8_t mods); typedef enum { ONESHOT_PRESSED = 0b01, ONESHOT_OTHER_KEY_PRESSED = 0b10, ONESHOT_START = 0b11, ONESHOT_TOGGLED = 0b100 } oneshot_fullfillment_t; void set_oneshot_layer(uint8_t layer, uint8_t state); |