summaryrefslogtreecommitdiff
path: root/keyboards/jd45
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-02-18 13:51:55 +1100
committerDrashna Jaelre <drashna@live.com>2019-02-18 08:52:51 -0800
commit545f95c8f49b8714a2fe2d0fa0f849f305cc7ca3 (patch)
tree05606823861678a5c8fb5b850529bae1bf584a24 /keyboards/jd45
parentefef54032bddadcaf8b2a138121a6fda382b271a (diff)
downloadqmk_firmware-545f95c8f49b8714a2fe2d0fa0f849f305cc7ca3.tar.gz
qmk_firmware-545f95c8f49b8714a2fe2d0fa0f849f305cc7ca3.zip
Migrate ACTION_LAYER_TAP_TOGGLEs to TT()
Diffstat (limited to 'keyboards/jd45')
-rw-r--r--keyboards/jd45/keymaps/mjt/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/jd45/keymaps/mjt/keymap.c b/keyboards/jd45/keymaps/mjt/keymap.c
index f806de65d9..63563d6aaa 100644
--- a/keyboards/jd45/keymaps/mjt/keymap.c
+++ b/keyboards/jd45/keymaps/mjt/keymap.c
@@ -3,12 +3,14 @@
/* Mike's Layout for JD45 with backlight LEDs acting as layer indicator
*/
+#define KC_TT2 TT(2)
+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_kc(
TAB, Q, W, E, R, T, Y, U, I, O, P, MINS, BSLS,
FN1, A, S, D, F, G, H, J, K, L, QUOT, ENT,
FN0, Z, X, C, V, B, N, M, COMM, DOT, SLSH, RSFT,
- NO, LCTL, LALT, LGUI, SPC, BSPC, APP, FN2, ESC, NO),
+ NO, LCTL, LALT, LGUI, SPC, BSPC, APP, TT2, ESC, NO),
[1] = LAYOUT_kc(
GRV, TRNS, UP, TRNS, 7, 8, 9, 0, MINS, EQL, PSCR, LBRC, RBRC,
TRNS, LEFT, DOWN, RGHT, 4, 5, 6, INS, HOME, PGUP, SCLN, TRNS,
@@ -35,9 +37,7 @@ enum macro_id
const uint16_t PROGMEM fn_actions[] = {
[0] = ACTION_MODS_TAP_TOGGLE(MOD_LSFT),
- // [1] = ACTION_LAYER_TAP_TOGGLE(1),
[1] = ACTION_MACRO(M_LAYER1),
- [2] = ACTION_LAYER_TAP_TOGGLE(2),
[3] = ACTION_BACKLIGHT_STEP(),
[4] = ACTION_BACKLIGHT_TOGGLE()};