24 #define MT(mod, key) (Key) { .raw = kaleidoscope::ranges::DUM_FIRST + (((Key_ ## mod).keyCode - Key_LeftControl.keyCode) << 8) + (Key_ ## key).keyCode } 25 #define SFT_T(key) MT(LeftShift, key) 26 #define CTL_T(key) MT(LeftControl, key) 27 #define ALT_T(key) MT(LeftAlt, key) 28 #define GUI_T(key) MT(LeftGui, key) 30 #define LT(layer, key) (Key) { .raw = kaleidoscope::ranges::DUL_FIRST + (layer << 8) + (Key_ ## key).keyCode } 39 void begin(
void)
final;
44 static uint16_t key_action_needed_map_;
45 static uint16_t pressed_map_;
47 static uint32_t end_time_;
49 static Key specialAction(uint8_t spec_index);
50 static void pressAllSpecials(byte
row, byte
col);
52 static Key eventHandlerHook(
Key mapped_key, byte
row, byte
col, uint8_t key_state);
DualUse(void)
Definition: DualUse.cpp:60
byte byte col
Definition: TapDance.cpp:229
Definition: key_defs.h:13
void inject(Key key, uint8_t key_state)
Definition: DualUse.cpp:67
Definition: Kaleidoscope.h:40
byte row
Definition: TapDance.cpp:229
static uint16_t time_out
Definition: DualUse.h:35
void begin(void) final
Definition: DualUse.cpp:63