1
0
Fork 0

[MERGE] Make One Shot Layer clearing configurable

This commit is contained in:
Drashna Jael're 2023-07-06 12:36:26 -07:00
parent d19b2b24bc
commit 4ed967335a
Signed by: drashna
GPG key ID: DBA1FD3A860D1B11
2 changed files with 20 additions and 4 deletions

View file

@ -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);