@ -19,3 +19,7 @@ uint8_t dance_step(qk_tap_dance_state_t *state) {
|
||||
}
|
||||
return MORE_TAPS;
|
||||
}
|
||||
|
||||
qk_tap_dance_action_t tap_dance_actions[] = {
|
||||
[TD_WMLAYOUT] = ACTION_TAP_DANCE_FN_ADVANCED(td_wmlayout_dance, td_wmlayout_finished, td_wmlayout_reset),
|
||||
};
|
||||
|
@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#include "keymap.h"
|
||||
|
||||
enum tap_dance_codes {
|
||||
TD_WMLAYOUT,
|
||||
};
|
||||
|
||||
enum {
|
||||
SINGLE_TAP = 1,
|
||||
SINGLE_HOLD,
|
||||
DOUBLE_TAP,
|
||||
DOUBLE_HOLD,
|
||||
DOUBLE_SINGLE_TAP,
|
||||
MORE_TAPS
|
||||
};
|
||||
|
||||
uint8_t dance_step(qk_tap_dance_state_t *state);
|
||||
|
||||
void td_wmlayout_dance(qk_tap_dance_state_t *state, void *user_data);
|
||||
void td_wmlayout_finished(qk_tap_dance_state_t *state, void *user_data);
|
||||
void td_wmlayout_reset(qk_tap_dance_state_t *state, void *user_data);
|
Reference in New Issue
Block a user