Tap Dance: remove qk_
prefix (#19313)
This commit is contained in:
parent
83e8e5845a
commit
1978007fae
298 changed files with 1327 additions and 1327 deletions
|
@ -25,14 +25,14 @@ enum keyboard_layers{
|
|||
};
|
||||
|
||||
// Tap Dance stuff
|
||||
void td_ctrl (qk_tap_dance_state_t *state, void *user_data);
|
||||
void td_ctrl (tap_dance_state_t *state, void *user_data);
|
||||
|
||||
enum tap_dance {
|
||||
CTRL = 0,
|
||||
BASE = 1
|
||||
};
|
||||
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
tap_dance_action_t tap_dance_actions[] = {
|
||||
// Tap once for standard key, twice to toggle layers
|
||||
[CTRL] = ACTION_TAP_DANCE_FN(td_ctrl),
|
||||
[BASE] = ACTION_TAP_DANCE_LAYER_MOVE(_______, _BASE)
|
||||
|
@ -110,7 +110,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
|
||||
// Below works around TD() not running key press through process_record_user
|
||||
void td_ctrl (qk_tap_dance_state_t *state, void *user_data) {
|
||||
void td_ctrl (tap_dance_state_t *state, void *user_data) {
|
||||
if (state->count == 1) {
|
||||
register_code(KC_WRAP);
|
||||
tap_code(KC_D);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue