1 #include "action_oneshot.h"
4 #ifndef NO_ACTION_ONESHOT
5 oneshot_state_t oneshot_state;
7 void oneshot_start(uint8_t mods)
9 oneshot_state.mods = mods;
12 void oneshot_cancel(void)
14 oneshot_state.mods = 0;
17 void oneshot_toggle(void)
19 oneshot_state.disabled = !oneshot_state.disabled;