Minor changes

This commit is contained in:
2024-01-22 12:25:50 -08:00
parent 08f3cee0a7
commit 2845481490
6 changed files with 8 additions and 66 deletions

View File

@ -33,10 +33,5 @@ bool beta_leader_check(void) {
return false;
}
BETA_SEQ_2_SHORT(KC_H, KC_O) {
layer_move(LAYER_HORIZON);
return false;
}
return true;
}

View File

@ -20,19 +20,7 @@ void td_wmlayout(tap_dance_state_t *state, void *user_data) {
}
}
void td_escape(tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
tap_code16(KC_ESCAPE);
} else if (state->count == 2) {
layer_move(LAYER_MAIN);
} else {
reset_tap_dance(state);
}
}
tap_dance_action_t tap_dance_actions[] = {
[TD_WMLAYOUT] = ACTION_TAP_DANCE_FN(td_wmlayout),
[TD_SCREENSHOT] = ACTION_TAP_DANCE_FN(td_screenshot),
[TD_ESCAPE] = ACTION_TAP_DANCE_FN(td_escape),
};