diff options
Diffstat (limited to 'tmk_core/common/action_util.h')
-rw-r--r-- | tmk_core/common/action_util.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tmk_core/common/action_util.h b/tmk_core/common/action_util.h index 1ce03ed0e..5dd8393da 100644 --- a/tmk_core/common/action_util.h +++ b/tmk_core/common/action_util.h | |||
@@ -77,6 +77,7 @@ void reset_oneshot_layer(void); | |||
77 | bool is_oneshot_layer_active(void); | 77 | bool is_oneshot_layer_active(void); |
78 | uint8_t get_oneshot_layer_state(void); | 78 | uint8_t get_oneshot_layer_state(void); |
79 | bool has_oneshot_layer_timed_out(void); | 79 | bool has_oneshot_layer_timed_out(void); |
80 | bool has_oneshot_swaphands_timed_out(void); | ||
80 | 81 | ||
81 | void oneshot_locked_mods_changed_user(uint8_t mods); | 82 | void oneshot_locked_mods_changed_user(uint8_t mods); |
82 | void oneshot_locked_mods_changed_kb(uint8_t mods); | 83 | void oneshot_locked_mods_changed_kb(uint8_t mods); |
@@ -88,6 +89,13 @@ void oneshot_layer_changed_kb(uint8_t layer); | |||
88 | /* inspect */ | 89 | /* inspect */ |
89 | uint8_t has_anymod(void); | 90 | uint8_t has_anymod(void); |
90 | 91 | ||
92 | #ifdef SWAP_HANDS_ENABLE | ||
93 | void set_oneshot_swaphands(void); | ||
94 | void release_oneshot_swaphands(void); | ||
95 | void use_oneshot_swaphands(void); | ||
96 | void clear_oneshot_swaphands(void); | ||
97 | #endif | ||
98 | |||
91 | #ifdef __cplusplus | 99 | #ifdef __cplusplus |
92 | } | 100 | } |
93 | #endif | 101 | #endif |