Tap Dance: remove qk_
prefix (#19313)
This commit is contained in:
parent
83e8e5845a
commit
1978007fae
298 changed files with 1327 additions and 1327 deletions
|
@ -16,7 +16,7 @@
|
|||
#include "nstickney.h"
|
||||
|
||||
// Tap Dancing
|
||||
void dance_layer(qk_tap_dance_state_t *state, void *user_data) {
|
||||
void dance_layer(tap_dance_state_t *state, void *user_data) {
|
||||
switch (state->count) {
|
||||
case 1:
|
||||
tap_code(KC_APP);
|
||||
|
@ -32,7 +32,7 @@ void dance_layer(qk_tap_dance_state_t *state, void *user_data) {
|
|||
}
|
||||
};
|
||||
|
||||
void dance_lock_finished(qk_tap_dance_state_t *state, void *user_data) {
|
||||
void dance_lock_finished(tap_dance_state_t *state, void *user_data) {
|
||||
switch (state->count) {
|
||||
case 1:
|
||||
register_code(KC_LGUI);
|
||||
|
@ -51,7 +51,7 @@ void dance_lock_finished(qk_tap_dance_state_t *state, void *user_data) {
|
|||
}
|
||||
};
|
||||
|
||||
void dance_lock_reset(qk_tap_dance_state_t *state, void *user_data) {
|
||||
void dance_lock_reset(tap_dance_state_t *state, void *user_data) {
|
||||
switch (state->count) {
|
||||
case 1:
|
||||
unregister_code(KC_LGUI);
|
||||
|
@ -70,7 +70,7 @@ void dance_lock_reset(qk_tap_dance_state_t *state, void *user_data) {
|
|||
}
|
||||
};
|
||||
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
tap_dance_action_t tap_dance_actions[] = {
|
||||
[LOCKS] = ACTION_TAP_DANCE_FN_ADVANCED(NULL, dance_lock_finished, dance_lock_reset),
|
||||
[LAYERS] = ACTION_TAP_DANCE_FN(dance_layer)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue