Merge tag '0.18.16' into firmware22

This commit is contained in:
Drashna Jael're
2022-11-08 17:14:27 -08:00
431 changed files with 21351 additions and 6419 deletions

View File

@@ -844,7 +844,7 @@ __attribute__((weak)) void register_code(uint8_t code) {
# endif
add_key(KC_CAPS_LOCK);
send_keyboard_report();
wait_ms(100);
wait_ms(TAP_HOLD_CAPS_DELAY);
del_key(KC_CAPS_LOCK);
send_keyboard_report();
}
@@ -1086,20 +1086,15 @@ void clear_keyboard_but_mods_and_keys() {
#endif
}
/** \brief Utilities for actions. (FIXME: Needs better description)
*
* FIXME: Needs documentation.
*/
bool is_tap_key(keypos_t key) {
action_t action = layer_switch_get_action(key);
return is_tap_action(action);
}
/** \brief Utilities for actions. (FIXME: Needs better description)
*
* FIXME: Needs documentation.
*/
bool is_tap_record(keyrecord_t *record) {
if (IS_NOEVENT(record->event)) {
return false;
}
#ifdef COMBO_ENABLE
action_t action;
if (record->keycode) {