|
|
@ -25,9 +25,9 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
|
|
|
|
Key_NoKey, Key_1, Key_2, Key_3, Key_4, Key_5, Key_NoKey,
|
|
|
|
Key_NoKey, Key_1, Key_2, Key_3, Key_4, Key_5, Key_NoKey,
|
|
|
|
Key_Backtick, Key_Q, Key_W, Key_E, Key_R, Key_T, Key_Tab,
|
|
|
|
Key_Backtick, Key_Q, Key_W, Key_E, Key_R, Key_T, Key_Tab,
|
|
|
|
Key_PageUp, Key_A, Key_S, Key_D, Key_F, Key_G,
|
|
|
|
Key_PageUp, Key_A, Key_S, Key_D, Key_F, Key_G,
|
|
|
|
Key_PageDn, Key_Z, Key_X, Key_C, Key_V, Key_B, Key_Esc,
|
|
|
|
Key_PageDown, Key_Z, Key_X, Key_C, Key_V, Key_B, Key_Escape,
|
|
|
|
|
|
|
|
|
|
|
|
Key_LCtrl, Key_Backspace, Key_LGUI, Key_LShift,
|
|
|
|
Key_LeftControl, Key_Backspace, Key_LeftGui, Key_LeftShift,
|
|
|
|
TD(0),
|
|
|
|
TD(0),
|
|
|
|
|
|
|
|
|
|
|
|
Key_skip, Key_6, Key_7, Key_8, Key_9, Key_0, Key_skip,
|
|
|
|
Key_skip, Key_6, Key_7, Key_8, Key_9, Key_0, Key_skip,
|
|
|
@ -35,7 +35,7 @@ const Key keymaps[][ROWS][COLS] PROGMEM = {
|
|
|
|
Key_H, Key_J, Key_K, Key_L, Key_Semicolon, Key_Quote,
|
|
|
|
Key_H, Key_J, Key_K, Key_L, Key_Semicolon, Key_Quote,
|
|
|
|
Key_skip, Key_N, Key_M, Key_Comma, Key_Period, Key_Slash, Key_Minus,
|
|
|
|
Key_skip, Key_N, Key_M, Key_Comma, Key_Period, Key_Slash, Key_Minus,
|
|
|
|
|
|
|
|
|
|
|
|
Key_RShift, Key_RAlt, Key_Space, Key_RCtrl,
|
|
|
|
Key_RightShift, Key_RightAlt, Key_Spacebar, Key_RightControl,
|
|
|
|
TD(1)
|
|
|
|
TD(1)
|
|
|
|
),
|
|
|
|
),
|
|
|
|
};
|
|
|
|
};
|
|
|
@ -47,7 +47,7 @@ static void tapDanceEsc (uint8_t tapDanceIndex, uint8_t tapCount, KaleidoscopePl
|
|
|
|
void tapDanceAction (uint8_t tapDanceIndex, byte row, byte col, uint8_t tapCount, KaleidoscopePlugins::TapDance::ActionType tapDanceAction) {
|
|
|
|
void tapDanceAction (uint8_t tapDanceIndex, byte row, byte col, uint8_t tapCount, KaleidoscopePlugins::TapDance::ActionType tapDanceAction) {
|
|
|
|
switch (tapDanceIndex) {
|
|
|
|
switch (tapDanceIndex) {
|
|
|
|
case 0:
|
|
|
|
case 0:
|
|
|
|
return tapDanceActionKeys (tapCount, tapDanceAction, Key_Tab, Key_Esc);
|
|
|
|
return tapDanceActionKeys (tapCount, tapDanceAction, Key_Tab, Key_Escape);
|
|
|
|
case 1:
|
|
|
|
case 1:
|
|
|
|
return tapDanceEsc (tapDanceIndex, tapCount, tapDanceAction);
|
|
|
|
return tapDanceEsc (tapDanceIndex, tapCount, tapDanceAction);
|
|
|
|
}
|
|
|
|
}
|
|
|
|