Tap Dance: remove qk_ prefix (#19313)
This commit is contained in:
@@ -30,7 +30,7 @@ These are the custom defined dances that I'm using. It sets up everything for l
|
||||
|
||||
```c
|
||||
//Tap Dance Definitions, sets the index and the keycode.
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
tap_dance_action_t tap_dance_actions[] = {
|
||||
// tap once to disable, and more to enable timed micros
|
||||
[TD_D3_1] = ACTION_TAP_DANCE_DIABLO(0, KC_1),
|
||||
[TD_D3_2] = ACTION_TAP_DANCE_DIABLO(1, KC_2),
|
||||
@@ -82,7 +82,7 @@ The first part of the magic here is the `diablo_tapdance_master` function. The
|
||||
|
||||
```c
|
||||
// Cycle through the times for the macro, starting at 0, for disabled.
|
||||
void diablo_tapdance_master(qk_tap_dance_state_t *state, void *user_data) {
|
||||
void diablo_tapdance_master(tap_dance_state_t *state, void *user_data) {
|
||||
diable_keys_t *diablo_keys = (diable_keys_t *)user_data;
|
||||
// Sets the keycode based on the index
|
||||
diablo_timer[diablo_keys->index].keycode = diablo_keys->keycode;
|
||||
|
||||
Reference in New Issue
Block a user