|
|
|
@ -8,9 +8,9 @@ void qk_tap_dance_pair_finished (qk_tap_dance_state_t *state, void *user_data) {
|
|
|
|
|
qk_tap_dance_pair_t *pair = (qk_tap_dance_pair_t *)user_data;
|
|
|
|
|
|
|
|
|
|
if (state->count == 1) {
|
|
|
|
|
register_code (pair->kc1);
|
|
|
|
|
register_code16 (pair->kc1);
|
|
|
|
|
} else if (state->count == 2) {
|
|
|
|
|
register_code (pair->kc2);
|
|
|
|
|
register_code16 (pair->kc2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -18,9 +18,9 @@ void qk_tap_dance_pair_reset (qk_tap_dance_state_t *state, void *user_data) {
|
|
|
|
|
qk_tap_dance_pair_t *pair = (qk_tap_dance_pair_t *)user_data;
|
|
|
|
|
|
|
|
|
|
if (state->count == 1) {
|
|
|
|
|
unregister_code (pair->kc1);
|
|
|
|
|
unregister_code16 (pair->kc1);
|
|
|
|
|
} else if (state->count == 2) {
|
|
|
|
|
unregister_code (pair->kc2);
|
|
|
|
|
unregister_code16 (pair->kc2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|