From 18aa5eadabde2453e78dc56ccec5cf905e4d9f2c Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Mon, 22 May 2017 00:50:48 -0700 Subject: [PATCH] Update to new Key names --- examples/TapDance/TapDance.ino | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/TapDance/TapDance.ino b/examples/TapDance/TapDance.ino index 0b62b750..48132506 100644 --- a/examples/TapDance/TapDance.ino +++ b/examples/TapDance/TapDance.ino @@ -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_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_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), 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_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) ), }; @@ -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) { switch (tapDanceIndex) { case 0: - return tapDanceActionKeys (tapCount, tapDanceAction, Key_Tab, Key_Esc); + return tapDanceActionKeys (tapCount, tapDanceAction, Key_Tab, Key_Escape); case 1: return tapDanceEsc (tapDanceIndex, tapCount, tapDanceAction); }