mirror of
https://github.com/zsa/qmk_firmware.git
synced 2026-05-03 05:37:40 +00:00
Merge tag '0.18.16' into firmware22
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user