[MERGE] Make One Shot Layer clearing configurable
This commit is contained in:
parent
d19b2b24bc
commit
4ed967335a
2 changed files with 20 additions and 4 deletions
|
@ -132,6 +132,11 @@ bool is_tap_action(action_t action);
|
|||
void process_record_tap_hint(keyrecord_t *record);
|
||||
#endif
|
||||
|
||||
#ifndef NO_ACTION_ONESHOT
|
||||
bool get_clear_oneshot_layer(uint16_t keycode, keyrecord_t *record, bool default_value);
|
||||
uint16_t get_record_keycode(keyrecord_t *record, bool update_layer_cache);
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Helpers
|
||||
|
||||
|
@ -145,6 +150,7 @@ void process_record_tap_hint(keyrecord_t *record);
|
|||
} while (0)
|
||||
#endif
|
||||
|
||||
/* debug */
|
||||
void debug_event(keyevent_t event);
|
||||
void debug_record(keyrecord_t record);
|
||||
void debug_action(action_t action);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue