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