24 #define TD(n) (Key) {.raw = kaleidoscope::ranges::TD_FIRST + n } 26 #define tapDanceActionKeys(tap_count, tap_dance_action, ...) ({ \ 27 static const Key __k[] PROGMEM = { __VA_ARGS__ }; \ 28 TapDance.actionKeys(tap_count, tap_dance_action, \ 29 sizeof (__k) / sizeof (Key), &__k[0]); \ 45 void begin(
void)
final;
51 static uint32_t end_time_;
52 static uint8_t tap_count_[16];
53 static uint16_t pressed_state_;
54 static uint16_t triggered_state_;
55 static uint16_t release_next_state_;
56 static Key last_tap_dance_key_;
57 static byte last_tap_dance_row_;
58 static byte last_tap_dance_col_;
60 static Key eventHandlerHook(
Key mapped_key, byte
row, byte
col, uint8_t key_state);
61 static void loopHook(
bool is_post_clear);
64 static void interrupt(byte
row, byte
col);
65 static void timeout(
void);
66 static Key release(uint8_t tap_dance_index);
ActionType
Definition: TapDance.h:35
void tapDanceAction(uint8_t tap_dance_index, byte row, byte col, uint8_t tap_count, kaleidoscope::TapDance::ActionType tap_dance_action)
void begin(void) final
Definition: TapDance.cpp:102
Definition: TapDance.h:38
TapDance(void)
Definition: TapDance.cpp:99
byte byte uint8_t tap_count
Definition: TapDance.cpp:229
byte byte col
Definition: TapDance.cpp:229
Definition: key_defs.h:13
Definition: TapDance.h:39
Definition: TapDance.h:37
Definition: TapDance.h:40
Definition: TapDance.h:33
Definition: TapDance.h:36
byte byte uint8_t kaleidoscope::TapDance::ActionType tap_dance_action
Definition: TapDance.cpp:230
Definition: Kaleidoscope.h:40
byte row
Definition: TapDance.cpp:229
static uint16_t time_out
Definition: TapDance.h:46
void actionKeys(uint8_t tap_count, ActionType tap_dance_action, uint8_t max_keys, const Key tap_keys[])
Definition: TapDance.cpp:107