forked from mirrors/qmk_userspace
Add ability to toggle One Shot functionality (#4198)
Co-authored-by: Nick Brassel <nick@tzarc.org> Co-authored-by: Ryan <fauxpark@gmail.com>
This commit is contained in:
parent
86f6f68274
commit
0e984b6e7e
7 changed files with 81 additions and 9 deletions
|
@ -85,6 +85,11 @@ void oneshot_mods_changed_kb(uint8_t mods);
|
|||
void oneshot_layer_changed_user(uint8_t layer);
|
||||
void oneshot_layer_changed_kb(uint8_t layer);
|
||||
|
||||
void oneshot_toggle(void);
|
||||
void oneshot_enable(void);
|
||||
void oneshot_disable(void);
|
||||
bool is_oneshot_enabled(void);
|
||||
|
||||
/* inspect */
|
||||
uint8_t has_anymod(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue