24 #define Key_Cycle ((Key) { .raw = kaleidoscope::ranges::CYCLE }) 26 #define cycleThrough(...) ({ \ 27 static const Key __k[] PROGMEM = { __VA_ARGS__ }; \ 28 Cycle.replace(sizeof(__k) / sizeof(Key), &__k[0]); \ 36 void begin(
void)
final;
39 static void replace(uint8_t cycle_size,
const Key cycle_steps[]);
42 static Key last_non_cycle_key_;
43 static uint8_t cycle_count_;
45 static Key eventHandlerHook(
Key mapped_key, byte
row, byte
col, uint8_t key_state);
byte byte col
Definition: TapDance.cpp:229
void begin(void) final
Definition: Cycle.cpp:37
void cycleAction(Key previous_key, uint8_t cycle_count)
Definition: key_defs.h:13
Cycle(void)
Definition: Cycle.cpp:34
uint8_t cycle_count
Definition: Cycle.cpp:91
Definition: Kaleidoscope.h:40
byte row
Definition: TapDance.cpp:229
static void replace(Key key)
Definition: Cycle.cpp:41