You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
123456789101112131415161718192021 |
- #include "action_oneshot.h"
-
-
- #ifndef NO_ACTION_ONESHOT
- oneshot_state_t oneshot_state;
-
- void oneshot_start(uint8_t mods)
- {
- oneshot_state.mods = mods;
- }
-
- void oneshot_cancel(void)
- {
- oneshot_state.mods = 0;
- }
-
- void oneshot_toggle(void)
- {
- oneshot_state.disabled = !oneshot_state.disabled;
- }
- #endif
|