Updated to QMK 0.23.1

This commit is contained in:
2023-12-19 12:04:38 -08:00
parent 7cb29a6bba
commit 1067fcc4b5
9 changed files with 15 additions and 16 deletions

View File

@ -1,4 +1,4 @@
void td_screenshot(qk_tap_dance_state_t *state, void *user_data) {
void td_screenshot(tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
tap_code16(KC_PSCR);
} else if (state->count == 2) {
@ -10,7 +10,7 @@ void td_screenshot(qk_tap_dance_state_t *state, void *user_data) {
}
}
void td_ocr(qk_tap_dance_state_t *state, void *user_data) {
void td_ocr(tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
tap_code16(LCTL(KC_PSCR));
} else if (state->count == 2) {
@ -20,7 +20,7 @@ void td_ocr(qk_tap_dance_state_t *state, void *user_data) {
}
}
void td_wmlayout(qk_tap_dance_state_t *state, void *user_data) {
void td_wmlayout(tap_dance_state_t *state, void *user_data) {
if (state->count == 1) {
tap_code16(LGUI(KC_COMMA));
} else if (state->count == 2) {
@ -30,7 +30,7 @@ void td_wmlayout(qk_tap_dance_state_t *state, void *user_data) {
}
}
qk_tap_dance_action_t tap_dance_actions[] = {
tap_dance_action_t tap_dance_actions[] = {
[TD_WMLAYOUT] = ACTION_TAP_DANCE_FN(td_wmlayout),
[TD_SCREENSHOT] = ACTION_TAP_DANCE_FN(td_screenshot),
[TD_OCR] = ACTION_TAP_DANCE_FN(td_ocr),