summaryrefslogtreecommitdiff
path: root/quantum/action_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/action_util.h')
-rw-r--r--quantum/action_util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/quantum/action_util.h b/quantum/action_util.h
index 6f1f09c4bd..02f6e9e6df 100644
--- a/quantum/action_util.h
+++ b/quantum/action_util.h
@@ -19,6 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <stdint.h>
#include "report.h"
+#include "modifiers.h"
#ifdef __cplusplus
extern "C" {
@@ -64,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);