matrix_scan_x -> x_task (#13748)
This commit is contained in:
parent
c52c69d45f
commit
03d258c222
13 changed files with 27 additions and 31 deletions
|
@ -184,7 +184,7 @@ bool process_combo(uint16_t keycode, keyrecord_t *record) {
|
|||
return !is_combo_key;
|
||||
}
|
||||
|
||||
void matrix_scan_combo(void) {
|
||||
void combo_task(void) {
|
||||
if (b_combo_enable && is_active && timer && timer_elapsed(timer) > COMBO_TERM) {
|
||||
/* This disables the combo, meaning key events for this
|
||||
* combo will be handled by the next processors in the chain
|
||||
|
|
|
@ -54,7 +54,7 @@ typedef struct {
|
|||
#endif
|
||||
|
||||
bool process_combo(uint16_t keycode, keyrecord_t *record);
|
||||
void matrix_scan_combo(void);
|
||||
void combo_task(void);
|
||||
void process_combo_event(uint16_t combo_index, bool pressed);
|
||||
|
||||
void combo_enable(void);
|
||||
|
|
|
@ -296,7 +296,7 @@ void music_mode_cycle(void) {
|
|||
# endif
|
||||
}
|
||||
|
||||
void matrix_scan_music(void) {
|
||||
void music_task(void) {
|
||||
if (music_sequence_playing) {
|
||||
if ((music_sequence_timer == 0) || (timer_elapsed(music_sequence_timer) > music_sequence_interval)) {
|
||||
music_sequence_timer = timer_read();
|
||||
|
|
|
@ -44,7 +44,7 @@ void music_scale_user(void);
|
|||
void music_all_notes_off(void);
|
||||
void music_mode_cycle(void);
|
||||
|
||||
void matrix_scan_music(void);
|
||||
void music_task(void);
|
||||
|
||||
bool music_mask(uint16_t keycode);
|
||||
bool music_mask_kb(uint16_t keycode);
|
||||
|
|
|
@ -161,7 +161,7 @@ bool process_tap_dance(uint16_t keycode, keyrecord_t *record) {
|
|||
return true;
|
||||
}
|
||||
|
||||
void matrix_scan_tap_dance() {
|
||||
void tap_dance_task() {
|
||||
if (highest_td == -1) return;
|
||||
uint16_t tap_user_defined;
|
||||
|
||||
|
|
|
@ -85,7 +85,7 @@ extern qk_tap_dance_action_t tap_dance_actions[];
|
|||
|
||||
void preprocess_tap_dance(uint16_t keycode, keyrecord_t *record);
|
||||
bool process_tap_dance(uint16_t keycode, keyrecord_t *record);
|
||||
void matrix_scan_tap_dance(void);
|
||||
void tap_dance_task(void);
|
||||
void reset_tap_dance(qk_tap_dance_state_t *state);
|
||||
|
||||
void qk_tap_dance_pair_on_each_tap(qk_tap_dance_state_t *state, void *user_data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue