diff options
Diffstat (limited to 'layouts/community')
58 files changed, 37 insertions, 279 deletions
diff --git a/layouts/community/ergodox/333fred/keymap.c b/layouts/community/ergodox/333fred/keymap.c index b203f42c6..c649e88dc 100644 --- a/layouts/community/ergodox/333fred/keymap.c +++ b/layouts/community/ergodox/333fred/keymap.c | |||
| @@ -271,10 +271,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 271 | ) | 271 | ) |
| 272 | }; | 272 | }; |
| 273 | 273 | ||
| 274 | const uint16_t PROGMEM fn_actions[] = { | ||
| 275 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 276 | }; | ||
| 277 | |||
| 278 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 274 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 279 | { | 275 | { |
| 280 | // MACRODOWN only works in this function | 276 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/absenth/keymap.c b/layouts/community/ergodox/absenth/keymap.c index b9dddfb42..e4f1ec901 100644 --- a/layouts/community/ergodox/absenth/keymap.c +++ b/layouts/community/ergodox/absenth/keymap.c | |||
| @@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 46 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 46 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 47 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), | 47 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), |
| 48 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSPC, | 48 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSPC, |
| 49 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 49 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 50 | KC_LALT, CTL_T(KC_ESC), | 50 | KC_LALT, CTL_T(KC_ESC), |
| 51 | KC_PGUP, | 51 | KC_PGUP, |
| 52 | KC_PGDN,KC_TAB, KC_ENT | 52 | KC_PGDN,KC_TAB, KC_ENT |
| @@ -136,10 +136,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 136 | ), | 136 | ), |
| 137 | }; | 137 | }; |
| 138 | 138 | ||
| 139 | const uint16_t PROGMEM fn_actions[] = { | ||
| 140 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 141 | }; | ||
| 142 | |||
| 143 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 144 | { | 140 | { |
| 145 | // MACRODOWN only works in this function | 141 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/adnw_k_o_y/keymap.c b/layouts/community/ergodox/adnw_k_o_y/keymap.c index 4ff449590..8a0e47026 100644 --- a/layouts/community/ergodox/adnw_k_o_y/keymap.c +++ b/layouts/community/ergodox/adnw_k_o_y/keymap.c | |||
| @@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 46 | TG(SYMB), DE_V, DE_G, DE_C, DE_L, DE_SS, DE_Z, | 46 | TG(SYMB), DE_V, DE_G, DE_C, DE_L, DE_SS, DE_Z, |
| 47 | DE_D, DE_T, DE_R, DE_N, LT(MDIA, DE_S), GUI_T(KC_F), | 47 | DE_D, DE_T, DE_R, DE_N, LT(MDIA, DE_S), GUI_T(KC_F), |
| 48 | MEH_T(KC_NO),KC_B, KC_P, KC_W, KC_M, CTL_T(KC_J), KC_RSFT, | 48 | MEH_T(KC_NO),KC_B, KC_P, KC_W, KC_M, CTL_T(KC_J), KC_RSFT, |
| 49 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 49 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 50 | KC_LALT, CTL_T(KC_ESC), | 50 | KC_LALT, CTL_T(KC_ESC), |
| 51 | KC_PGUP, | 51 | KC_PGUP, |
| 52 | KC_PGDN,KC_TAB, KC_RSFT | 52 | KC_PGDN,KC_TAB, KC_RSFT |
| @@ -136,10 +136,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 136 | ), | 136 | ), |
| 137 | }; | 137 | }; |
| 138 | 138 | ||
| 139 | const uint16_t PROGMEM fn_actions[] = { | ||
| 140 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 141 | }; | ||
| 142 | |||
| 143 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 144 | { | 140 | { |
| 145 | // MACRODOWN only works in this function | 141 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/alexjj/keymap.c b/layouts/community/ergodox/alexjj/keymap.c index 5127b93f4..5f4f85cd4 100644 --- a/layouts/community/ergodox/alexjj/keymap.c +++ b/layouts/community/ergodox/alexjj/keymap.c | |||
| @@ -38,7 +38,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 38 | KC_LGUI, KC_A, KC_S, KC_D, KC_F, KC_G, | 38 | KC_LGUI, KC_A, KC_S, KC_D, KC_F, KC_G, |
| 39 | KC_LSFT, ALT_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_HOME, | 39 | KC_LSFT, ALT_T(KC_Z), KC_X, KC_C, KC_V, KC_B, KC_HOME, |
| 40 | KC_LCTRL, LCTL(KC_C), LCTL(KC_V), KC_LEFT,KC_RGHT, | 40 | KC_LCTRL, LCTL(KC_C), LCTL(KC_V), KC_LEFT,KC_RGHT, |
| 41 | KC_FN3, KC_F5, | 41 | TT(UNIC), KC_F5, |
| 42 | KC_PGUP, | 42 | KC_PGUP, |
| 43 | KC_ENT,KC_BSPC,KC_PGDN, | 43 | KC_ENT,KC_BSPC,KC_PGDN, |
| 44 | // right hand | 44 | // right hand |
| @@ -47,9 +47,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 47 | KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, | 47 | KC_H, KC_J, KC_K, KC_L, KC_SCLN,KC_QUOT, |
| 48 | KC_END, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, | 48 | KC_END, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, |
| 49 | KC_DOWN,KC_UP, ALL_T(KC_NO),KC_GRV, KC_RCTRL, | 49 | KC_DOWN,KC_UP, ALL_T(KC_NO),KC_GRV, KC_RCTRL, |
| 50 | KC_F2, KC_FN2, | 50 | KC_F2, TT(MDIA), |
| 51 | KC_INS, | 51 | KC_INS, |
| 52 | KC_DELT,KC_FN1, KC_SPC | 52 | KC_DELT,TT(SYMB), KC_SPC |
| 53 | ), | 53 | ), |
| 54 | /* Keymap 1: Symbol Layer | 54 | /* Keymap 1: Symbol Layer |
| 55 | * | 55 | * |
| @@ -179,13 +179,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 179 | ), | 179 | ), |
| 180 | }; | 180 | }; |
| 181 | 181 | ||
| 182 | |||
| 183 | const uint16_t PROGMEM fn_actions[] = { | ||
| 184 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB), // FN1 - Momentary Layer 1 (Symbols) | ||
| 185 | [2] = ACTION_LAYER_TAP_TOGGLE(MDIA), // FN2 - Momentary Layer 2 (Media) | ||
| 186 | [3] = ACTION_LAYER_TAP_TOGGLE(UNIC) // FN3 - Momentary Layer 3 (Unicode entry) | ||
| 187 | }; | ||
| 188 | |||
| 189 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 182 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 190 | { | 183 | { |
| 191 | // MACRODOWN only works in this function | 184 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/andrew_osx/keymap.c b/layouts/community/ergodox/andrew_osx/keymap.c index ef37fc032..8fb570bd7 100644 --- a/layouts/community/ergodox/andrew_osx/keymap.c +++ b/layouts/community/ergodox/andrew_osx/keymap.c | |||
| @@ -36,7 +36,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 36 | [BASE] = LAYOUT_ergodox( // layer 0 : default | 36 | [BASE] = LAYOUT_ergodox( // layer 0 : default |
| 37 | // left hand | 37 | // left hand |
| 38 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_QUOT, | 38 | KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_QUOT, |
| 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_FN1, | 39 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, TT(SYMB), |
| 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, | 40 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, |
| 41 | KC_LSFT, CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, ALL_T(KC_NO), | 41 | KC_LSFT, CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, ALL_T(KC_NO), |
| 42 | LT(SYMB,KC_GRV),KC_LALT, LALT(KC_LSFT), KC_LEFT,KC_RGHT, | 42 | LT(SYMB,KC_GRV),KC_LALT, LALT(KC_LSFT), KC_LEFT,KC_RGHT, |
| @@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 45 | KC_SPC,KC_LGUI,KC_RPRN, | 45 | KC_SPC,KC_LGUI,KC_RPRN, |
| 46 | // right hand | 46 | // right hand |
| 47 | KC_QUOT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, | 47 | KC_QUOT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC, |
| 48 | KC_FN1, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, | 48 | TT(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_MINS, |
| 49 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_BSLS, | 49 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_BSLS, |
| 50 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, | 50 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, |
| 51 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TG(1), | 51 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TG(1), |
| @@ -138,10 +138,6 @@ LAYOUT_ergodox( | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const uint16_t PROGMEM fn_actions[] = { | ||
| 142 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 143 | }; | ||
| 144 | |||
| 145 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 146 | { | 142 | { |
| 147 | // MACRODOWN only works in this function | 143 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/bryan/keymap.c b/layouts/community/ergodox/bryan/keymap.c index 220ae2e80..5e74c9126 100644 --- a/layouts/community/ergodox/bryan/keymap.c +++ b/layouts/community/ergodox/bryan/keymap.c | |||
| @@ -53,7 +53,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 53 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 53 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 54 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), | 54 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), |
| 55 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, | 55 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, |
| 56 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 56 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 57 | 57 | ||
| 58 | ALT_T(KC_APP), KC_LGUI, | 58 | ALT_T(KC_APP), KC_LGUI, |
| 59 | KC_HOME, | 59 | KC_HOME, |
| @@ -146,10 +146,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 146 | ), | 146 | ), |
| 147 | }; | 147 | }; |
| 148 | 148 | ||
| 149 | const uint16_t PROGMEM fn_actions[] = { | ||
| 150 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 151 | }; | ||
| 152 | |||
| 153 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 149 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 154 | { | 150 | { |
| 155 | // MACRODOWN only works in this function | 151 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/coderkun_neo2/keymap.c b/layouts/community/ergodox/coderkun_neo2/keymap.c index 5b1887ec5..0c70dbb5d 100644 --- a/layouts/community/ergodox/coderkun_neo2/keymap.c +++ b/layouts/community/ergodox/coderkun_neo2/keymap.c | |||
| @@ -219,8 +219,6 @@ const uint16_t PROGMEM fn_actions[] = { | |||
| 219 | [BASE] = ACTION_FUNCTION(BASE), | 219 | [BASE] = ACTION_FUNCTION(BASE), |
| 220 | [PMQ] = ACTION_FUNCTION(PMQ), | 220 | [PMQ] = ACTION_FUNCTION(PMQ), |
| 221 | [PMN] = ACTION_FUNCTION(PMN), | 221 | [PMN] = ACTION_FUNCTION(PMN), |
| 222 | [FMU] = ACTION_LAYER_TAP_TOGGLE(FMU), | ||
| 223 | [NHL] = ACTION_LAYER_TAP_TOGGLE(NHL) | ||
| 224 | }; | 222 | }; |
| 225 | 223 | ||
| 226 | 224 | ||
diff --git a/layouts/community/ergodox/colemak/keymap.c b/layouts/community/ergodox/colemak/keymap.c index e9e27bcc4..7330eda14 100644 --- a/layouts/community/ergodox/colemak/keymap.c +++ b/layouts/community/ergodox/colemak/keymap.c | |||
| @@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 45 | TG(SYMB), KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, | 45 | TG(SYMB), KC_J, KC_L, KC_U, KC_Y, KC_SCLN, KC_BSLS, |
| 46 | KC_H, KC_N, KC_E, KC_I, LT(MDIA, KC_O), KC_QUOT, | 46 | KC_H, KC_N, KC_E, KC_I, LT(MDIA, KC_O), KC_QUOT, |
| 47 | MEH_T(KC_NO),KC_K, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, | 47 | MEH_T(KC_NO),KC_K, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, |
| 48 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 48 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 49 | KC_LALT, CTL_T(KC_ESC), | 49 | KC_LALT, CTL_T(KC_ESC), |
| 50 | KC_PGUP, | 50 | KC_PGUP, |
| 51 | KC_PGDN,KC_TAB, KC_ENT | 51 | KC_PGDN,KC_TAB, KC_ENT |
| @@ -135,10 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const uint16_t PROGMEM fn_actions[] = { | ||
| 139 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 140 | }; | ||
| 141 | |||
| 142 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 143 | { | 139 | { |
| 144 | // MACRODOWN only works in this function | 140 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/common_nighthawk/keymap.c b/layouts/community/ergodox/common_nighthawk/keymap.c index e113e85d1..cb13822e4 100644 --- a/layouts/community/ergodox/common_nighthawk/keymap.c +++ b/layouts/community/ergodox/common_nighthawk/keymap.c | |||
| @@ -149,10 +149,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 149 | ), | 149 | ), |
| 150 | }; | 150 | }; |
| 151 | 151 | ||
| 152 | const uint16_t PROGMEM fn_actions[] = { | ||
| 153 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 154 | }; | ||
| 155 | |||
| 156 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 152 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 157 | { | 153 | { |
| 158 | // MACRODOWN only works in this function | 154 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/csharp_dev/keymap.c b/layouts/community/ergodox/csharp_dev/keymap.c index 7996c92e0..221389ef2 100644 --- a/layouts/community/ergodox/csharp_dev/keymap.c +++ b/layouts/community/ergodox/csharp_dev/keymap.c | |||
| @@ -118,10 +118,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 118 | 118 | ||
| 119 | }; | 119 | }; |
| 120 | 120 | ||
| 121 | const uint16_t PROGMEM fn_actions[] = { | ||
| 122 | [1] = ACTION_LAYER_TAP_TOGGLE(FKEYS) // FN1 - Momentary Layer 1 | ||
| 123 | }; | ||
| 124 | |||
| 125 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 121 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 126 | { | 122 | { |
| 127 | // MACRODOWN only works in this function | 123 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/dragon788/keymap.c b/layouts/community/ergodox/dragon788/keymap.c index ea3fe3ee5..c0c213477 100644 --- a/layouts/community/ergodox/dragon788/keymap.c +++ b/layouts/community/ergodox/dragon788/keymap.c | |||
| @@ -37,7 +37,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 37 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, TG(1), | 37 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, TG(1), |
| 38 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, | 38 | CTL_T(KC_ESC), KC_A, KC_S, KC_D, KC_F, KC_G, |
| 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, ALL_T(KC_NO), | 39 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, ALL_T(KC_NO), |
| 40 | KC_FN1, KC_GRV, KC_QUOT,KC_LEFT, LT(MDIA, KC_RGHT), | 40 | TT(SYMB), KC_GRV, KC_QUOT,KC_LEFT, LT(MDIA, KC_RGHT), |
| 41 | KC_APP, KC_HOME, | 41 | KC_APP, KC_HOME, |
| 42 | KC_END, | 42 | KC_END, |
| 43 | KC_BSPC,KC_DELT,KC_LALT, | 43 | KC_BSPC,KC_DELT,KC_LALT, |
| @@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 46 | TG(2), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 46 | TG(2), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 47 | KC_H, KC_J, KC_K, KC_L, KC_SCLN, CTL_T(KC_QUOT), | 47 | KC_H, KC_J, KC_K, KC_L, KC_SCLN, CTL_T(KC_QUOT), |
| 48 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, | 48 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, |
| 49 | LT(MDIA, KC_UP), KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 49 | LT(MDIA, KC_UP), KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 50 | KC_PGUP, CTL_T(KC_ESC), | 50 | KC_PGUP, CTL_T(KC_ESC), |
| 51 | KC_PGDN, | 51 | KC_PGDN, |
| 52 | CTL_T(KC_TAB),KC_ENT, KC_SPC | 52 | CTL_T(KC_TAB),KC_ENT, KC_SPC |
| @@ -180,10 +180,6 @@ LAYOUT_ergodox( | |||
| 180 | 180 | ||
| 181 | }; | 181 | }; |
| 182 | 182 | ||
| 183 | const uint16_t PROGMEM fn_actions[] = { | ||
| 184 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 185 | }; | ||
| 186 | |||
| 187 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 183 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 188 | { | 184 | { |
| 189 | // MACRODOWN only works in this function | 185 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/dvorak/keymap.c b/layouts/community/ergodox/dvorak/keymap.c index ade89db96..b161358c1 100644 --- a/layouts/community/ergodox/dvorak/keymap.c +++ b/layouts/community/ergodox/dvorak/keymap.c | |||
| @@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 45 | TG(1), KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, | 45 | TG(1), KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, |
| 46 | KC_D, KC_H, KC_T, KC_N, LT(MDIA, KC_S), KC_MINS, | 46 | KC_D, KC_H, KC_T, KC_N, LT(MDIA, KC_S), KC_MINS, |
| 47 | MEH_T(KC_NO),KC_B, KC_M, KC_W, KC_V, CTL_T(KC_Z), KC_RSFT, | 47 | MEH_T(KC_NO),KC_B, KC_M, KC_W, KC_V, CTL_T(KC_Z), KC_RSFT, |
| 48 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 48 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 49 | KC_LALT, CTL_T(KC_ESC), | 49 | KC_LALT, CTL_T(KC_ESC), |
| 50 | KC_PGUP, | 50 | KC_PGUP, |
| 51 | KC_PGDN,KC_TAB, KC_ENT | 51 | KC_PGDN,KC_TAB, KC_ENT |
| @@ -135,10 +135,6 @@ LAYOUT_ergodox( | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const uint16_t PROGMEM fn_actions[] = { | ||
| 139 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 140 | }; | ||
| 141 | |||
| 142 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 143 | { | 139 | { |
| 144 | // MACRODOWN only works in this function | 140 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/dvorak_emacs/keymap.c b/layouts/community/ergodox/dvorak_emacs/keymap.c index fc83a1d66..244dfe521 100644 --- a/layouts/community/ergodox/dvorak_emacs/keymap.c +++ b/layouts/community/ergodox/dvorak_emacs/keymap.c | |||
| @@ -117,11 +117,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 117 | ), | 117 | ), |
| 118 | }; | 118 | }; |
| 119 | 119 | ||
| 120 | const uint16_t PROGMEM fn_actions[] = { | ||
| 121 | [1] = ACTION_LAYER_TAP_TOGGLE(AUX) // FN1 - Momentary Layer 1 (Aux) | ||
| 122 | }; | ||
| 123 | |||
| 124 | |||
| 125 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 120 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 126 | { | 121 | { |
| 127 | // MACRODOWN only works in this function | 122 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/dvorak_emacs_software/keymap.c b/layouts/community/ergodox/dvorak_emacs_software/keymap.c index 1f5681f66..720dcde12 100644 --- a/layouts/community/ergodox/dvorak_emacs_software/keymap.c +++ b/layouts/community/ergodox/dvorak_emacs_software/keymap.c | |||
| @@ -118,11 +118,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 118 | ), | 118 | ), |
| 119 | }; | 119 | }; |
| 120 | 120 | ||
| 121 | const uint16_t PROGMEM fn_actions[] = { | ||
| 122 | [1] = ACTION_LAYER_TAP_TOGGLE(AUX) // FN1 - Momentary Layer 1 (Aux) | ||
| 123 | }; | ||
| 124 | |||
| 125 | |||
| 126 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 121 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 127 | { | 122 | { |
| 128 | // MACRODOWN only works in this function | 123 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/dvorak_intl_squisher/keymap.c b/layouts/community/ergodox/dvorak_intl_squisher/keymap.c index e1ed56f84..83cee0d06 100644 --- a/layouts/community/ergodox/dvorak_intl_squisher/keymap.c +++ b/layouts/community/ergodox/dvorak_intl_squisher/keymap.c | |||
| @@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 45 | KC_INS, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, | 45 | KC_INS, KC_F, KC_G, KC_C, KC_R, KC_L, KC_SLSH, |
| 46 | KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, | 46 | KC_D, KC_H, KC_T, KC_N, KC_S, KC_MINS, |
| 47 | MEH_T(KC_NO),KC_B, KC_M, KC_W, KC_V, CTL_T(KC_Z), KC_RSFT, | 47 | MEH_T(KC_NO),KC_B, KC_M, KC_W, KC_V, CTL_T(KC_Z), KC_RSFT, |
| 48 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 48 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 49 | TG(2), KC_PSCREEN, | 49 | TG(2), KC_PSCREEN, |
| 50 | KC_PGUP, | 50 | KC_PGUP, |
| 51 | KC_PGDN,RALT(KC_RSFT), KC_ENT | 51 | KC_PGDN,RALT(KC_RSFT), KC_ENT |
| @@ -136,10 +136,6 @@ LAYOUT_ergodox( // layer 0 : default | |||
| 136 | ), | 136 | ), |
| 137 | }; | 137 | }; |
| 138 | 138 | ||
| 139 | const uint16_t PROGMEM fn_actions[] = { | ||
| 140 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 141 | }; | ||
| 142 | |||
| 143 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 144 | { | 140 | { |
| 145 | // MACRODOWN only works in this function | 141 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/dvorak_plover/keymap.c b/layouts/community/ergodox/dvorak_plover/keymap.c index 4d1122473..24746c751 100644 --- a/layouts/community/ergodox/dvorak_plover/keymap.c +++ b/layouts/community/ergodox/dvorak_plover/keymap.c | |||
| @@ -178,10 +178,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 178 | ), | 178 | ), |
| 179 | }; | 179 | }; |
| 180 | 180 | ||
| 181 | const uint16_t PROGMEM fn_actions[] = { | ||
| 182 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 183 | }; | ||
| 184 | |||
| 185 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 181 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 186 | { | 182 | { |
| 187 | // MACRODOWN only works in this function | 183 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/dvorak_programmer_swe/keymap.c b/layouts/community/ergodox/dvorak_programmer_swe/keymap.c index 9c66baceb..43efc763d 100644 --- a/layouts/community/ergodox/dvorak_programmer_swe/keymap.c +++ b/layouts/community/ergodox/dvorak_programmer_swe/keymap.c | |||
| @@ -71,7 +71,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 71 | TG(1), KC_F, KC_G, KC_C, KC_R, KC_L, NO_AM, | 71 | TG(1), KC_F, KC_G, KC_C, KC_R, KC_L, NO_AM, |
| 72 | KC_D, KC_H, KC_T, KC_N, KC_S, NO_AE, | 72 | KC_D, KC_H, KC_T, KC_N, KC_S, NO_AE, |
| 73 | TG(MDIA),KC_B, KC_M, KC_W, KC_V, CTL_T(KC_Z), KC_RSFT, | 73 | TG(MDIA),KC_B, KC_M, KC_W, KC_V, CTL_T(KC_Z), KC_RSFT, |
| 74 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 74 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 75 | KC_LALT, CTL_T(KC_ESC), | 75 | KC_LALT, CTL_T(KC_ESC), |
| 76 | KC_PGUP, | 76 | KC_PGUP, |
| 77 | KC_PGDN,KC_TAB, KC_ENT | 77 | KC_PGDN,KC_TAB, KC_ENT |
| @@ -203,10 +203,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 203 | ), | 203 | ), |
| 204 | }; | 204 | }; |
| 205 | 205 | ||
| 206 | const uint16_t PROGMEM fn_actions[] = { | ||
| 207 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 208 | }; | ||
| 209 | |||
| 210 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 206 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 211 | { | 207 | { |
| 212 | // MACRODOWN only works in this function | 208 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/dvorak_spanish/keymap.c b/layouts/community/ergodox/dvorak_spanish/keymap.c index 19dfb27f5..98aa638a0 100644 --- a/layouts/community/ergodox/dvorak_spanish/keymap.c +++ b/layouts/community/ergodox/dvorak_spanish/keymap.c | |||
| @@ -72,7 +72,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 72 | KC_ENT,KC_TAB,MT((MOD_LALT | MOD_LSFT), KC_F3), | 72 | KC_ENT,KC_TAB,MT((MOD_LALT | MOD_LSFT), KC_F3), |
| 73 | // right hand | 73 | // right hand |
| 74 | KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, | 74 | KC_EQL, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, |
| 75 | KC_FN1, KC_F, KC_G, KC_C, KC_H, KC_L, ALL_T(KC_RBRACKET), | 75 | TT(AUX), KC_F, KC_G, KC_C, KC_H, KC_L, ALL_T(KC_RBRACKET), |
| 76 | KC_D, KC_R, KC_T, KC_N, KC_S, CTL_T(KC_QUOTE), | 76 | KC_D, KC_R, KC_T, KC_N, KC_S, CTL_T(KC_QUOTE), |
| 77 | KC_RALT, KC_B, KC_M, KC_W, KC_V, KC_Z, M(CBRACE), | 77 | KC_RALT, KC_B, KC_M, KC_W, KC_V, KC_Z, M(CBRACE), |
| 78 | KC_LEFT,KC_DOWN,KC_UP, KC_RGHT,M(CBRACK), | 78 | KC_LEFT,KC_DOWN,KC_UP, KC_RGHT,M(CBRACK), |
| @@ -168,10 +168,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 168 | ), | 168 | ), |
| 169 | }; | 169 | }; |
| 170 | 170 | ||
| 171 | const uint16_t PROGMEM fn_actions[] = { | ||
| 172 | [1] = ACTION_LAYER_TAP_TOGGLE(AUX) // FN1 - Momentary Layer 1 (Aux) | ||
| 173 | }; | ||
| 174 | |||
| 175 | static uint16_t key_timer; | 171 | static uint16_t key_timer; |
| 176 | 172 | ||
| 177 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 173 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
diff --git a/layouts/community/ergodox/dvorak_svorak_a5/keymap.c b/layouts/community/ergodox/dvorak_svorak_a5/keymap.c index 98df73289..b0eff652b 100644 --- a/layouts/community/ergodox/dvorak_svorak_a5/keymap.c +++ b/layouts/community/ergodox/dvorak_svorak_a5/keymap.c | |||
| @@ -178,11 +178,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 178 | ), | 178 | ), |
| 179 | }; | 179 | }; |
| 180 | 180 | ||
| 181 | const uint16_t PROGMEM fn_actions[] = { | ||
| 182 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 183 | }; | ||
| 184 | |||
| 185 | |||
| 186 | // Runs just one time when the keyboard initializes. | 181 | // Runs just one time when the keyboard initializes. |
| 187 | void matrix_init_user(void) { | 182 | void matrix_init_user(void) { |
| 188 | 183 | ||
diff --git a/layouts/community/ergodox/emacs_osx_dk/keymap.c b/layouts/community/ergodox/emacs_osx_dk/keymap.c index 3fa14a564..8f4c010af 100644 --- a/layouts/community/ergodox/emacs_osx_dk/keymap.c +++ b/layouts/community/ergodox/emacs_osx_dk/keymap.c | |||
| @@ -135,10 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const uint16_t PROGMEM fn_actions[] = { | ||
| 139 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 140 | }; | ||
| 141 | |||
| 142 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 143 | { | 139 | { |
| 144 | // MACRODOWN only works in this function | 140 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/french_hacker/keymap.c b/layouts/community/ergodox/french_hacker/keymap.c index 30bf56608..731d917fd 100644 --- a/layouts/community/ergodox/french_hacker/keymap.c +++ b/layouts/community/ergodox/french_hacker/keymap.c | |||
| @@ -199,10 +199,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 199 | ), | 199 | ), |
| 200 | }; | 200 | }; |
| 201 | 201 | ||
| 202 | const uint16_t PROGMEM fn_actions[] = { | ||
| 203 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 204 | }; | ||
| 205 | |||
| 206 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 202 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 207 | { | 203 | { |
| 208 | // MACRODOWN only works in this function | 204 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/galson/keymap.c b/layouts/community/ergodox/galson/keymap.c index e34500551..2b7994b11 100644 --- a/layouts/community/ergodox/galson/keymap.c +++ b/layouts/community/ergodox/galson/keymap.c | |||
| @@ -136,10 +136,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 136 | ), | 136 | ), |
| 137 | }; | 137 | }; |
| 138 | 138 | ||
| 139 | const uint16_t PROGMEM fn_actions[] = { | ||
| 140 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 141 | }; | ||
| 142 | |||
| 143 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 144 | { | 140 | { |
| 145 | // MACRODOWN only works in this function | 141 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/german-kinergo/keymap.c b/layouts/community/ergodox/german-kinergo/keymap.c index d8da953e0..7e1e5bf82 100644 --- a/layouts/community/ergodox/german-kinergo/keymap.c +++ b/layouts/community/ergodox/german-kinergo/keymap.c | |||
| @@ -72,7 +72,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 72 | // TG(2), DE_Z, KC_U, KC_I, KC_O, KC_P, DE_UE, | 72 | // TG(2), DE_Z, KC_U, KC_I, KC_O, KC_P, DE_UE, |
| 73 | // KC_H, KC_J, KC_K, KC_L, DE_OE, LT(MDIA,DE_AE), | 73 | // KC_H, KC_J, KC_K, KC_L, DE_OE, LT(MDIA,DE_AE), |
| 74 | // MEH_T(KC_NO),KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(DE_MINS), KC_RSFT, | 74 | // MEH_T(KC_NO),KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(DE_MINS), KC_RSFT, |
| 75 | // KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_FN1, | 75 | // KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, TT(SYMB), |
| 76 | // KC_LALT,CTL_T(KC_ESC), | 76 | // KC_LALT,CTL_T(KC_ESC), |
| 77 | // KC_PGUP, | 77 | // KC_PGUP, |
| 78 | // KC_PGDN,KC_TAB, KC_ENT | 78 | // KC_PGDN,KC_TAB, KC_ENT |
| @@ -162,10 +162,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 162 | ), | 162 | ), |
| 163 | }; | 163 | }; |
| 164 | 164 | ||
| 165 | const uint16_t PROGMEM fn_actions[] = { | ||
| 166 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 167 | }; | ||
| 168 | |||
| 169 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 165 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 170 | { | 166 | { |
| 171 | // MACRODOWN only works in this function | 167 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/german-lukas/keymap.c b/layouts/community/ergodox/german-lukas/keymap.c index 2ad909b6c..e0cdf25c6 100644 --- a/layouts/community/ergodox/german-lukas/keymap.c +++ b/layouts/community/ergodox/german-lukas/keymap.c | |||
| @@ -185,10 +185,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 185 | ), | 185 | ), |
| 186 | }; | 186 | }; |
| 187 | 187 | ||
| 188 | const uint16_t PROGMEM fn_actions[] = { | ||
| 189 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 190 | }; | ||
| 191 | |||
| 192 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 188 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 193 | { | 189 | { |
| 194 | // MACRODOWN only works in this function | 190 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/german/keymap.c b/layouts/community/ergodox/german/keymap.c index 67d01fd33..a379b24ca 100644 --- a/layouts/community/ergodox/german/keymap.c +++ b/layouts/community/ergodox/german/keymap.c | |||
| @@ -47,7 +47,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 47 | TG(2), DE_Z, KC_U, KC_I, KC_O, KC_P, DE_UE, | 47 | TG(2), DE_Z, KC_U, KC_I, KC_O, KC_P, DE_UE, |
| 48 | KC_H, KC_J, KC_K, KC_L, DE_OE, LT(MDIA,DE_AE), | 48 | KC_H, KC_J, KC_K, KC_L, DE_OE, LT(MDIA,DE_AE), |
| 49 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(DE_MINS), KC_RSFT, | 49 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(DE_MINS), KC_RSFT, |
| 50 | KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_FN1, | 50 | KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, TT(SYMB), |
| 51 | KC_LALT,CTL_T(KC_ESC), | 51 | KC_LALT,CTL_T(KC_ESC), |
| 52 | KC_PGUP, | 52 | KC_PGUP, |
| 53 | KC_PGDN,KC_TAB, KC_ENT | 53 | KC_PGDN,KC_TAB, KC_ENT |
| @@ -137,10 +137,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 137 | ), | 137 | ), |
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | const uint16_t PROGMEM fn_actions[] = { | ||
| 141 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 142 | }; | ||
| 143 | |||
| 144 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 140 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 145 | { | 141 | { |
| 146 | // MACRODOWN only works in this function | 142 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/haegin/keymap.c b/layouts/community/ergodox/haegin/keymap.c index fc6ec5762..b7e382957 100644 --- a/layouts/community/ergodox/haegin/keymap.c +++ b/layouts/community/ergodox/haegin/keymap.c | |||
| @@ -223,10 +223,6 @@ qk_tap_dance_action_t tap_dance_actions[] = { | |||
| 223 | [TD_BSPC] = ACTION_TAP_DANCE_FN_ADVANCED (dance_backspace, dance_backspace_ended, dance_backspace_reset) | 223 | [TD_BSPC] = ACTION_TAP_DANCE_FN_ADVANCED (dance_backspace, dance_backspace_ended, dance_backspace_reset) |
| 224 | }; | 224 | }; |
| 225 | 225 | ||
| 226 | const uint16_t PROGMEM fn_actions[] = { | ||
| 227 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMBOLS) // FN1 - Momentary Layer 1 (Symbols) | ||
| 228 | }; | ||
| 229 | |||
| 230 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 226 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 231 | { | 227 | { |
| 232 | // MACRODOWN only works in this function | 228 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/italian/keymap.c b/layouts/community/ergodox/italian/keymap.c index 366f4c9b9..64dd51db6 100644 --- a/layouts/community/ergodox/italian/keymap.c +++ b/layouts/community/ergodox/italian/keymap.c | |||
| @@ -143,10 +143,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 143 | ), | 143 | ), |
| 144 | }; | 144 | }; |
| 145 | 145 | ||
| 146 | const uint16_t PROGMEM fn_actions[] = { | ||
| 147 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 148 | }; | ||
| 149 | |||
| 150 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 146 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 151 | { | 147 | { |
| 152 | // MACRODOWN only works in this function | 148 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/j3rn/keymap.c b/layouts/community/ergodox/j3rn/keymap.c index 7f62a1646..8209c9c63 100644 --- a/layouts/community/ergodox/j3rn/keymap.c +++ b/layouts/community/ergodox/j3rn/keymap.c | |||
| @@ -138,11 +138,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const uint16_t PROGMEM fn_actions[] = { | ||
| 142 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB), // FN1 - Momentary Layer 1 (Symbols) | ||
| 143 | [2] = ACTION_LAYER_TAP_TOGGLE(MDIA) // FN2 - Momentary Layer 2 (Media) | ||
| 144 | }; | ||
| 145 | |||
| 146 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 147 | { | 142 | { |
| 148 | // MACRODOWN only works in this function | 143 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/jackhumbert/keymap.c b/layouts/community/ergodox/jackhumbert/keymap.c index 634e4a0ce..745d632d0 100644 --- a/layouts/community/ergodox/jackhumbert/keymap.c +++ b/layouts/community/ergodox/jackhumbert/keymap.c | |||
| @@ -69,10 +69,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 69 | ), | 69 | ), |
| 70 | }; | 70 | }; |
| 71 | 71 | ||
| 72 | const uint16_t PROGMEM fn_actions[] = { | ||
| 73 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 74 | }; | ||
| 75 | |||
| 76 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 72 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 77 | { | 73 | { |
| 78 | // MACRODOWN only works in this function | 74 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/jacobono/keymap.c b/layouts/community/ergodox/jacobono/keymap.c index c0a1c0cdb..8d80e349b 100644 --- a/layouts/community/ergodox/jacobono/keymap.c +++ b/layouts/community/ergodox/jacobono/keymap.c | |||
| @@ -91,7 +91,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 91 | KC_TRNS, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 91 | KC_TRNS, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 92 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN), KC_RCTRL, | 92 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN), KC_RCTRL, |
| 93 | KC_RALT, KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(KC_SLSH), KC_RSFT, | 93 | KC_RALT, KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(KC_SLSH), KC_RSFT, |
| 94 | MO(SYMB), KC_DOWN, KC_LBRC, KC_RBRC, KC_FN1, | 94 | MO(SYMB), KC_DOWN, KC_LBRC, KC_RBRC, TT(SYMB), |
| 95 | KC_LALT, CTL_T(KC_ESC), | 95 | KC_LALT, CTL_T(KC_ESC), |
| 96 | KC_PGUP, | 96 | KC_PGUP, |
| 97 | KC_PGDN, KC_RGUI, KC_ENT), | 97 | KC_PGDN, KC_RGUI, KC_ENT), |
| @@ -224,10 +224,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 224 | KC_TRNS, KC_TRNS, KC_WBAK), | 224 | KC_TRNS, KC_TRNS, KC_WBAK), |
| 225 | }; | 225 | }; |
| 226 | 226 | ||
| 227 | const uint16_t PROGMEM fn_actions[] = { | ||
| 228 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 229 | }; | ||
| 230 | |||
| 231 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 227 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 232 | { | 228 | { |
| 233 | // MACRODOWN only works in this function | 229 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/jafo/keymap.c b/layouts/community/ergodox/jafo/keymap.c index 081f18894..08ea16d4b 100644 --- a/layouts/community/ergodox/jafo/keymap.c +++ b/layouts/community/ergodox/jafo/keymap.c | |||
| @@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 46 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 46 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 47 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), | 47 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), |
| 48 | TG(MDIA), KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, | 48 | TG(MDIA), KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, |
| 49 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 49 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 50 | KC_LALT, CTL_T(KC_ESC), | 50 | KC_LALT, CTL_T(KC_ESC), |
| 51 | KC_PGUP, | 51 | KC_PGUP, |
| 52 | KC_PGDN,KC_TAB, KC_ENT | 52 | KC_PGDN,KC_TAB, KC_ENT |
| @@ -136,10 +136,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 136 | ), | 136 | ), |
| 137 | }; | 137 | }; |
| 138 | 138 | ||
| 139 | const uint16_t PROGMEM fn_actions[] = { | ||
| 140 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 141 | }; | ||
| 142 | |||
| 143 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 139 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 144 | { | 140 | { |
| 145 | // MACRODOWN only works in this function | 141 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/jgarr/keymap.c b/layouts/community/ergodox/jgarr/keymap.c index 359b2e1ac..37524dfa0 100644 --- a/layouts/community/ergodox/jgarr/keymap.c +++ b/layouts/community/ergodox/jgarr/keymap.c | |||
| @@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 46 | KC_D, KC_H, KC_T, KC_N, LT(MDIA, KC_S), KC_MINS, | 46 | KC_D, KC_H, KC_T, KC_N, LT(MDIA, KC_S), KC_MINS, |
| 47 | MEH_T(KC_NO),KC_B, KC_M, KC_W, KC_V, CTL_T(KC_Z), KC_RSFT, | 47 | MEH_T(KC_NO),KC_B, KC_M, KC_W, KC_V, CTL_T(KC_Z), KC_RSFT, |
| 48 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_EQL, | 48 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_EQL, |
| 49 | KC_LALT, KC_FN1, | 49 | KC_LALT, TT(SYMB), |
| 50 | KC_PGUP, | 50 | KC_PGUP, |
| 51 | KC_PGDN,KC_ENT, KC_SPC | 51 | KC_PGDN,KC_ENT, KC_SPC |
| 52 | ), | 52 | ), |
| @@ -135,10 +135,6 @@ LAYOUT_ergodox( | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const uint16_t PROGMEM fn_actions[] = { | ||
| 139 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 140 | }; | ||
| 141 | |||
| 142 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 143 | { | 139 | { |
| 144 | // MACRODOWN only works in this function | 140 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/josh/keymap.c b/layouts/community/ergodox/josh/keymap.c index 5121fabdb..07ee97ec8 100644 --- a/layouts/community/ergodox/josh/keymap.c +++ b/layouts/community/ergodox/josh/keymap.c | |||
| @@ -143,10 +143,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 143 | ), | 143 | ), |
| 144 | }; | 144 | }; |
| 145 | 145 | ||
| 146 | const uint16_t PROGMEM fn_actions[] = { | ||
| 147 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 148 | }; | ||
| 149 | |||
| 150 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 146 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 151 | { | 147 | { |
| 152 | // MACRODOWN only works in this function | 148 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/kines-ish/keymap.c b/layouts/community/ergodox/kines-ish/keymap.c index da39b5278..6f0d99d8d 100644 --- a/layouts/community/ergodox/kines-ish/keymap.c +++ b/layouts/community/ergodox/kines-ish/keymap.c | |||
| @@ -135,10 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const uint16_t PROGMEM fn_actions[] = { | ||
| 139 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 140 | }; | ||
| 141 | |||
| 142 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 143 | { | 139 | { |
| 144 | // MACRODOWN only works in this function | 140 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/kristian/keymap.c b/layouts/community/ergodox/kristian/keymap.c index aeb3112de..b56e880c0 100644 --- a/layouts/community/ergodox/kristian/keymap.c +++ b/layouts/community/ergodox/kristian/keymap.c | |||
| @@ -21,10 +21,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 21 | 21 | ||
| 22 | }; | 22 | }; |
| 23 | 23 | ||
| 24 | const uint16_t PROGMEM fn_actions[] = { | ||
| 25 | [1] = ACTION_LAYER_TAP_TOGGLE(1) | ||
| 26 | }; | ||
| 27 | |||
| 28 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 24 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 29 | { | 25 | { |
| 30 | switch(id) { | 26 | switch(id) { |
diff --git a/layouts/community/ergodox/maz/keymap.c b/layouts/community/ergodox/maz/keymap.c index ad425a726..c36821ded 100644 --- a/layouts/community/ergodox/maz/keymap.c +++ b/layouts/community/ergodox/maz/keymap.c | |||
| @@ -180,10 +180,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 180 | ), | 180 | ), |
| 181 | }; | 181 | }; |
| 182 | 182 | ||
| 183 | const uint16_t PROGMEM fn_actions[] = { | ||
| 184 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 185 | }; | ||
| 186 | |||
| 187 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 183 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 188 | { | 184 | { |
| 189 | // MACRODOWN only works in this function | 185 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/mclennon_osx/keymap.c b/layouts/community/ergodox/mclennon_osx/keymap.c index dd37c5eef..aeea456ec 100644 --- a/layouts/community/ergodox/mclennon_osx/keymap.c +++ b/layouts/community/ergodox/mclennon_osx/keymap.c | |||
| @@ -95,10 +95,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 95 | ), | 95 | ), |
| 96 | }; | 96 | }; |
| 97 | 97 | ||
| 98 | const uint16_t PROGMEM fn_actions[] = { | ||
| 99 | [1] = ACTION_LAYER_TAP_TOGGLE(AUXI) // FN1 - Momentary Layer 1 (Auxiliary) | ||
| 100 | }; | ||
| 101 | |||
| 102 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 98 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 103 | { | 99 | { |
| 104 | // MACRODOWN only works in this function | 100 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/msc/keymap.c b/layouts/community/ergodox/msc/keymap.c index 529626341..c64c92c9c 100644 --- a/layouts/community/ergodox/msc/keymap.c +++ b/layouts/community/ergodox/msc/keymap.c | |||
| @@ -135,10 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const uint16_t PROGMEM fn_actions[] = { | ||
| 139 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 140 | }; | ||
| 141 | |||
| 142 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 143 | { | 139 | { |
| 144 | // MACRODOWN only works in this function | 140 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/naps62/keymap.c b/layouts/community/ergodox/naps62/keymap.c index 481b0dd76..a242a14fe 100644 --- a/layouts/community/ergodox/naps62/keymap.c +++ b/layouts/community/ergodox/naps62/keymap.c | |||
| @@ -138,10 +138,6 @@ LAYOUT_ergodox( | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const uint16_t PROGMEM fn_actions[] = { | ||
| 142 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 143 | }; | ||
| 144 | |||
| 145 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 146 | { | 142 | { |
| 147 | // MACRODOWN only works in this function | 143 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/osx_fr/keymap.c b/layouts/community/ergodox/osx_fr/keymap.c index f899b8b0f..b1876d6a8 100644 --- a/layouts/community/ergodox/osx_fr/keymap.c +++ b/layouts/community/ergodox/osx_fr/keymap.c | |||
| @@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 48 | TG(1), KC_Y, KC_U, KC_I, KC_O, KC_P, FR_GRV, | 48 | TG(1), KC_Y, KC_U, KC_I, KC_O, KC_P, FR_GRV, |
| 49 | KC_H, KC_J, KC_K, KC_L, FR_M, KC_LGUI, | 49 | KC_H, KC_J, KC_K, KC_L, FR_M, KC_LGUI, |
| 50 | MEH_T(KC_NO), KC_N, FR_COMM, LT(MDIA, FR_SCLN), FR_COLN, CTL_T(FR_EQL), KC_RSFT, | 50 | MEH_T(KC_NO), KC_N, FR_COMM, LT(MDIA, FR_SCLN), FR_COLN, CTL_T(FR_EQL), KC_RSFT, |
| 51 | KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, KC_FN1, | 51 | KC_UP, KC_DOWN, KC_LBRC, KC_RBRC, TT(SYMB), |
| 52 | KC_LALT, CTL_T(KC_ESC), | 52 | KC_LALT, CTL_T(KC_ESC), |
| 53 | KC_PGUP, | 53 | KC_PGUP, |
| 54 | KC_PGDN, KC_TAB, KC_ENT | 54 | KC_PGDN, KC_TAB, KC_ENT |
| @@ -138,10 +138,6 @@ LAYOUT_ergodox( | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const uint16_t PROGMEM fn_actions[] = { | ||
| 142 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 143 | }; | ||
| 144 | |||
| 145 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 146 | { | 142 | { |
| 147 | // MACRODOWN only works in this function | 143 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/osx_kinesis_pnut/keymap.c b/layouts/community/ergodox/osx_kinesis_pnut/keymap.c index 59ffe4f3f..5b731a1c0 100644 --- a/layouts/community/ergodox/osx_kinesis_pnut/keymap.c +++ b/layouts/community/ergodox/osx_kinesis_pnut/keymap.c | |||
| @@ -52,7 +52,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 52 | TG(1), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 52 | TG(1), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 53 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_QUOTE, | 53 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_QUOTE, |
| 54 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, | 54 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, |
| 55 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 55 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 56 | CTL_T(KC_ESC), KC_LGUI, | 56 | CTL_T(KC_ESC), KC_LGUI, |
| 57 | KC_EQL, | 57 | KC_EQL, |
| 58 | KC_TAB, KC_ENT, KC_SPC | 58 | KC_TAB, KC_ENT, KC_SPC |
| @@ -142,10 +142,6 @@ LAYOUT_ergodox( | |||
| 142 | ), | 142 | ), |
| 143 | }; | 143 | }; |
| 144 | 144 | ||
| 145 | const uint16_t PROGMEM fn_actions[] = { | ||
| 146 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 147 | }; | ||
| 148 | |||
| 149 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 145 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 150 | { | 146 | { |
| 151 | // MACRODOWN only works in this function | 147 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/phoenix/keymap.c b/layouts/community/ergodox/phoenix/keymap.c index 7ebdeaeb8..31a987b35 100644 --- a/layouts/community/ergodox/phoenix/keymap.c +++ b/layouts/community/ergodox/phoenix/keymap.c | |||
| @@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 45 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 45 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 46 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), | 46 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), |
| 47 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, | 47 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, |
| 48 | KC_DOWN,KC_UP ,KC_LBRC,KC_RBRC, KC_FN1, | 48 | KC_DOWN,KC_UP ,KC_LBRC,KC_RBRC, TT(SYMB), |
| 49 | KC_LALT, CTL_T(KC_ESC), | 49 | KC_LALT, CTL_T(KC_ESC), |
| 50 | KC_PGUP, | 50 | KC_PGUP, |
| 51 | KC_PGDN,KC_ENT, KC_SPC | 51 | KC_PGDN,KC_ENT, KC_SPC |
| @@ -135,10 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const uint16_t PROGMEM fn_actions[] = { | ||
| 139 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 140 | }; | ||
| 141 | |||
| 142 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 143 | { | 139 | { |
| 144 | // MACRODOWN only works in this function | 140 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/plover/keymap.c b/layouts/community/ergodox/plover/keymap.c index d3e354729..9f19ab24c 100644 --- a/layouts/community/ergodox/plover/keymap.c +++ b/layouts/community/ergodox/plover/keymap.c | |||
| @@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 46 | TG(3), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 46 | TG(3), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 47 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_QUOT, | 47 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_QUOT, |
| 48 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, | 48 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, |
| 49 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 49 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 50 | KC_LALT, CTL_T(KC_ESC), | 50 | KC_LALT, CTL_T(KC_ESC), |
| 51 | KC_PGUP, | 51 | KC_PGUP, |
| 52 | KC_PGDN,KC_ENT, KC_SPC | 52 | KC_PGDN,KC_ENT, KC_SPC |
| @@ -179,10 +179,6 @@ LAYOUT_ergodox( | |||
| 179 | ), | 179 | ), |
| 180 | }; | 180 | }; |
| 181 | 181 | ||
| 182 | const uint16_t PROGMEM fn_actions[] = { | ||
| 183 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 184 | }; | ||
| 185 | |||
| 186 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 182 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 187 | { | 183 | { |
| 188 | // MACRODOWN only works in this function | 184 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/qwerty_code_friendly/keymap.c b/layouts/community/ergodox/qwerty_code_friendly/keymap.c index 43a1d1ad8..5f4ed3c19 100644 --- a/layouts/community/ergodox/qwerty_code_friendly/keymap.c +++ b/layouts/community/ergodox/qwerty_code_friendly/keymap.c | |||
| @@ -291,9 +291,9 @@ enum custom_keycodes { | |||
| 291 | #define CFQ_KC_FN2 MO(2) | 291 | #define CFQ_KC_FN2 MO(2) |
| 292 | #define CFQ_KC_FN3 MO(3) | 292 | #define CFQ_KC_FN3 MO(3) |
| 293 | #else | 293 | #else |
| 294 | #define CFQ_KC_FN1 KC_FN1 | 294 | #define CFQ_KC_FN1 TT(1) |
| 295 | #define CFQ_KC_FN2 KC_FN2 | 295 | #define CFQ_KC_FN2 TT(2) |
| 296 | #define CFQ_KC_FN3 KC_FN3 | 296 | #define CFQ_KC_FN3 TT(3) |
| 297 | #endif | 297 | #endif |
| 298 | 298 | ||
| 299 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | 299 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { |
| @@ -490,12 +490,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 490 | ), | 490 | ), |
| 491 | }; | 491 | }; |
| 492 | 492 | ||
| 493 | const uint16_t PROGMEM fn_actions[] = { | ||
| 494 | [1] = ACTION_LAYER_TAP_TOGGLE(LAYER_KPAD), /* FN1 - Momentary Layer 1 (KeyPad) */ | ||
| 495 | [2] = ACTION_LAYER_TAP_TOGGLE(LAYER_MDIA), /* FN2 - Momentary Layer 2 (Media, Mouse) */ | ||
| 496 | [3] = ACTION_LAYER_TAP_TOGGLE(LAYER_FKEY), /* FN3 - Momentary Layer 3 (FKey's & Words) */ | ||
| 497 | }; | ||
| 498 | |||
| 499 | #define WITHOUT_MODS(...) \ | 493 | #define WITHOUT_MODS(...) \ |
| 500 | do { \ | 494 | do { \ |
| 501 | uint8_t _real_mods = get_mods(); \ | 495 | uint8_t _real_mods = get_mods(); \ |
diff --git a/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c index 1dd956bda..866aa22f9 100644 --- a/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c +++ b/layouts/community/ergodox/romanzolotarev-norman-plover-osx-hjkl/keymap.c | |||
| @@ -16,7 +16,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 16 | KC_F1, KC_F2, KC_F3, KC_LALT, KC_LGUI, | 16 | KC_F1, KC_F2, KC_F3, KC_LALT, KC_LGUI, |
| 17 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_VOLD, KC_MUTE, | 17 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_VOLD, KC_MUTE, |
| 18 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_VOLU, | 18 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_VOLU, |
| 19 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_BSPC, CTL_T(KC_ESC), KC_FN1, | 19 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_BSPC, CTL_T(KC_ESC), TT(SYMB), |
| 20 | // | 20 | // |
| 21 | /*-*/ KC_F15, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, | 21 | /*-*/ KC_F15, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, |
| 22 | /*-*/ KC_BSLS, KC_J, KC_U, KC_R, KC_L, KC_SCLN, KC_MINS, | 22 | /*-*/ KC_BSLS, KC_J, KC_U, KC_R, KC_L, KC_SCLN, KC_MINS, |
| @@ -25,7 +25,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 25 | /*-*/ /*-*/ /*-*/ KC_RGUI, KC_RALT, KC_F4, KC_F5, KC_F6, | 25 | /*-*/ /*-*/ /*-*/ KC_RGUI, KC_RALT, KC_F4, KC_F5, KC_F6, |
| 26 | KC_MPLY, KC_MNXT, | 26 | KC_MPLY, KC_MNXT, |
| 27 | KC_MPRV, | 27 | KC_MPRV, |
| 28 | KC_FN3, KC_QUOT, KC_SPC | 28 | TT(ARRW), KC_QUOT, KC_SPC |
| 29 | ), | 29 | ), |
| 30 | [SYMB] = LAYOUT_ergodox( | 30 | [SYMB] = LAYOUT_ergodox( |
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, |
| @@ -86,12 +86,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 86 | ), | 86 | ), |
| 87 | }; | 87 | }; |
| 88 | 88 | ||
| 89 | const uint16_t PROGMEM fn_actions[] = { | ||
| 90 | [SYMB] = ACTION_LAYER_TAP_TOGGLE(SYMB), // FN1 - Momentary Symbols Layer | ||
| 91 | [PLVR] = ACTION_LAYER_TAP_TOGGLE(PLVR), // FN2 - Momentary Plover Layer | ||
| 92 | [ARRW] = ACTION_LAYER_TAP_TOGGLE(ARRW), // FN3 - Momentary Arrows Layer | ||
| 93 | }; | ||
| 94 | |||
| 95 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 89 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 96 | { | 90 | { |
| 97 | // MACRODOWN only works in this function | 91 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c b/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c index f8ae8a51d..08aad4f22 100644 --- a/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c +++ b/layouts/community/ergodox/romanzolotarev-norman-plover-osx/keymap.c | |||
| @@ -16,7 +16,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 16 | KC_F1, KC_F2, KC_F3, KC_LALT, KC_LGUI, | 16 | KC_F1, KC_F2, KC_F3, KC_LALT, KC_LGUI, |
| 17 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_VOLD, KC_MUTE, | 17 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_VOLD, KC_MUTE, |
| 18 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_VOLU, | 18 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_VOLU, |
| 19 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_BSPC, CTL_T(KC_ESC), KC_FN1, | 19 | /*-*/ /*-*/ /*-*/ /*-*/ /*-*/ KC_BSPC, CTL_T(KC_ESC), TT(SYMB), |
| 20 | // | 20 | // |
| 21 | /*-*/ KC_F15, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, | 21 | /*-*/ KC_F15, KC_6, KC_7, KC_8, KC_9, KC_0, KC_EQL, |
| 22 | /*-*/ KC_BSLS, KC_J, KC_U, KC_R, KC_L, KC_SCLN, KC_MINS, | 22 | /*-*/ KC_BSLS, KC_J, KC_U, KC_R, KC_L, KC_SCLN, KC_MINS, |
| @@ -25,7 +25,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 25 | /*-*/ /*-*/ /*-*/ KC_RGUI, KC_RALT, KC_F4, KC_F5, KC_F6, | 25 | /*-*/ /*-*/ /*-*/ KC_RGUI, KC_RALT, KC_F4, KC_F5, KC_F6, |
| 26 | KC_MPLY, KC_MNXT, | 26 | KC_MPLY, KC_MNXT, |
| 27 | KC_MPRV, | 27 | KC_MPRV, |
| 28 | KC_FN3, KC_QUOT, KC_SPC | 28 | TT(ARRW), KC_QUOT, KC_SPC |
| 29 | ), | 29 | ), |
| 30 | [SYMB] = LAYOUT_ergodox( | 30 | [SYMB] = LAYOUT_ergodox( |
| 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | 31 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, |
| @@ -86,12 +86,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 86 | ), | 86 | ), |
| 87 | }; | 87 | }; |
| 88 | 88 | ||
| 89 | const uint16_t PROGMEM fn_actions[] = { | ||
| 90 | [SYMB] = ACTION_LAYER_TAP_TOGGLE(SYMB), // FN1 - Momentary Symbols Layer | ||
| 91 | [PLVR] = ACTION_LAYER_TAP_TOGGLE(PLVR), // FN2 - Momentary Plover Layer | ||
| 92 | [ARRW] = ACTION_LAYER_TAP_TOGGLE(ARRW), // FN3 - Momentary Arrows Layer | ||
| 93 | }; | ||
| 94 | |||
| 95 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 89 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 96 | { | 90 | { |
| 97 | // MACRODOWN only works in this function | 91 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/siroken3/keymap.c b/layouts/community/ergodox/siroken3/keymap.c index e8e122387..98422b440 100644 --- a/layouts/community/ergodox/siroken3/keymap.c +++ b/layouts/community/ergodox/siroken3/keymap.c | |||
| @@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 48 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 48 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 49 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_LGUI, | 49 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_LGUI, |
| 50 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, | 50 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT, |
| 51 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 51 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 52 | KC_LALT, CTL_T(KC_ESC), | 52 | KC_LALT, CTL_T(KC_ESC), |
| 53 | KC_PGUP, | 53 | KC_PGUP, |
| 54 | KC_PGDN,KC_LANG2, KC_ENT | 54 | KC_PGDN,KC_LANG2, KC_ENT |
| @@ -138,10 +138,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const uint16_t PROGMEM fn_actions[] = { | ||
| 142 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 143 | }; | ||
| 144 | |||
| 145 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 146 | { | 142 | { |
| 147 | // MACRODOWN only works in this function | 143 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/sneako/keymap.c b/layouts/community/ergodox/sneako/keymap.c index 98f3469fc..5add317e1 100644 --- a/layouts/community/ergodox/sneako/keymap.c +++ b/layouts/community/ergodox/sneako/keymap.c | |||
| @@ -48,7 +48,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 48 | TG(1), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 48 | TG(1), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 49 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), | 49 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), |
| 50 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, | 50 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, |
| 51 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 51 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 52 | KC_LALT, CTL_T(KC_ESC), | 52 | KC_LALT, CTL_T(KC_ESC), |
| 53 | KC_PGUP, | 53 | KC_PGUP, |
| 54 | KC_PGDN,KC_TAB, KC_ENT | 54 | KC_PGDN,KC_TAB, KC_ENT |
| @@ -138,10 +138,6 @@ LAYOUT_ergodox( | |||
| 138 | ), | 138 | ), |
| 139 | }; | 139 | }; |
| 140 | 140 | ||
| 141 | const uint16_t PROGMEM fn_actions[] = { | ||
| 142 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 143 | }; | ||
| 144 | |||
| 145 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 141 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 146 | { | 142 | { |
| 147 | // MACRODOWN only works in this function | 143 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/swedish-lindhe/keymap.c b/layouts/community/ergodox/swedish-lindhe/keymap.c index a46408793..71ccba241 100644 --- a/layouts/community/ergodox/swedish-lindhe/keymap.c +++ b/layouts/community/ergodox/swedish-lindhe/keymap.c | |||
| @@ -154,10 +154,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 154 | ), | 154 | ), |
| 155 | }; | 155 | }; |
| 156 | 156 | ||
| 157 | const uint16_t PROGMEM fn_actions[] = { | ||
| 158 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 159 | }; | ||
| 160 | |||
| 161 | // Runs just one time when the keyboard initializes. | 157 | // Runs just one time when the keyboard initializes. |
| 162 | void matrix_init_user(void) { | 158 | void matrix_init_user(void) { |
| 163 | 159 | ||
diff --git a/layouts/community/ergodox/swedish/keymap.c b/layouts/community/ergodox/swedish/keymap.c index 0cda8511f..987f2c6af 100644 --- a/layouts/community/ergodox/swedish/keymap.c +++ b/layouts/community/ergodox/swedish/keymap.c | |||
| @@ -75,7 +75,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 75 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, NO_AA, | 75 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, NO_AA, |
| 76 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, NO_OSLH), GUI_T(NO_AE), | 76 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, NO_OSLH), GUI_T(NO_AE), |
| 77 | MEH_T(KC_NO), KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(NO_MINS), KC_RSFT, | 77 | MEH_T(KC_NO), KC_N, KC_M, KC_COMM, KC_DOT, CTL_T(NO_MINS), KC_RSFT, |
| 78 | KC_UP, KC_DOWN, NO_CIRC, NO_ASTR, KC_FN1, | 78 | KC_UP, KC_DOWN, NO_CIRC, NO_ASTR, TT(SYMB), |
| 79 | KC_ALGR, CTL_T(KC_ESC), | 79 | KC_ALGR, CTL_T(KC_ESC), |
| 80 | KC_PGUP, | 80 | KC_PGUP, |
| 81 | KC_PGDN,KC_TAB, KC_ENT | 81 | KC_PGDN,KC_TAB, KC_ENT |
| @@ -167,10 +167,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 167 | ), | 167 | ), |
| 168 | }; | 168 | }; |
| 169 | 169 | ||
| 170 | const uint16_t PROGMEM fn_actions[] = { | ||
| 171 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 172 | }; | ||
| 173 | |||
| 174 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 170 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 175 | { | 171 | { |
| 176 | // MACRODOWN only works in this function | 172 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/swissgerman/keymap.c b/layouts/community/ergodox/swissgerman/keymap.c index 0288c955b..b32fa4c2a 100644 --- a/layouts/community/ergodox/swissgerman/keymap.c +++ b/layouts/community/ergodox/swissgerman/keymap.c | |||
| @@ -82,7 +82,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 82 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, | 82 | TG(SYMB), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, |
| 83 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), | 83 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),GUI_T(KC_QUOT), |
| 84 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,ALT_T(KC_DOT), CTL_T(KC_SLSH), KC_RSFT, | 84 | MEH_T(KC_NO),KC_N, KC_M, KC_COMM,ALT_T(KC_DOT), CTL_T(KC_SLSH), KC_RSFT, |
| 85 | KC_UP, KC_DOWN,KC_RALT,KC_RBRC, KC_FN1, | 85 | KC_UP, KC_DOWN,KC_RALT,KC_RBRC, TT(SYMB), |
| 86 | KC_LALT,CTL_T(KC_ESC), | 86 | KC_LALT,CTL_T(KC_ESC), |
| 87 | KC_PGUP, | 87 | KC_PGUP, |
| 88 | KC_PGDN,KC_TAB, KC_ENT | 88 | KC_PGDN,KC_TAB, KC_ENT |
| @@ -172,10 +172,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 172 | ), | 172 | ), |
| 173 | }; | 173 | }; |
| 174 | 174 | ||
| 175 | const uint16_t PROGMEM fn_actions[] = { | ||
| 176 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 177 | }; | ||
| 178 | |||
| 179 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 175 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 180 | { | 176 | { |
| 181 | // MACRODOWN only works in this function | 177 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/techtomas/keymap.c b/layouts/community/ergodox/techtomas/keymap.c index 361583a0d..07228c4c0 100644 --- a/layouts/community/ergodox/techtomas/keymap.c +++ b/layouts/community/ergodox/techtomas/keymap.c | |||
| @@ -46,7 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 46 | KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, MEH_T(KC_BSLS), | 46 | KC_RBRC, KC_Y, KC_U, KC_I, KC_O, KC_P, MEH_T(KC_BSLS), |
| 47 | KC_H, KC_J, KC_K, KC_L, LT(APP,KC_SCLN), ALL_T(KC_QUOT), | 47 | KC_H, KC_J, KC_K, KC_L, LT(APP,KC_SCLN), ALL_T(KC_QUOT), |
| 48 | S(KC_TAB), KC_N, KC_M, KC_COMM, KC_DOT, LT(APP,KC_SLSH), KC_RSFT, | 48 | S(KC_TAB), KC_N, KC_M, KC_COMM, KC_DOT, LT(APP,KC_SLSH), KC_RSFT, |
| 49 | KC_RGUI, KC_UP, KC_DOWN, KC_FN3, KC_FN1, | 49 | KC_RGUI, KC_UP, KC_DOWN, TT(CNTL), TT(SYMB), |
| 50 | LALT(KC_LGUI), S(KC_LGUI), | 50 | LALT(KC_LGUI), S(KC_LGUI), |
| 51 | LT(APP,KC_PGUP), | 51 | LT(APP,KC_PGUP), |
| 52 | LT(SYMB,KC_PGDN), KC_ENT, KC_SPC | 52 | LT(SYMB,KC_PGDN), KC_ENT, KC_SPC |
| @@ -177,12 +177,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 177 | ), | 177 | ), |
| 178 | }; | 178 | }; |
| 179 | 179 | ||
| 180 | const uint16_t PROGMEM fn_actions[] = { | ||
| 181 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB), | ||
| 182 | [2] = ACTION_LAYER_TAP_TOGGLE(APP), | ||
| 183 | [3] = ACTION_LAYER_TAP_TOGGLE(CNTL) // FN1 - Momentary Layer 1 (Symbols) | ||
| 184 | }; | ||
| 185 | |||
| 186 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 180 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 187 | { | 181 | { |
| 188 | // MACRODOWN only works in this function | 182 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/tkuichooseyou/keymap.c b/layouts/community/ergodox/tkuichooseyou/keymap.c index 0a94b5205..4dbf8be58 100644 --- a/layouts/community/ergodox/tkuichooseyou/keymap.c +++ b/layouts/community/ergodox/tkuichooseyou/keymap.c | |||
| @@ -45,7 +45,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 45 | MEH_T(KC_NO), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, | 45 | MEH_T(KC_NO), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS, |
| 46 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_QUOT, | 46 | KC_H, KC_J, KC_K, KC_L, LT(MDIA, KC_SCLN),KC_QUOT, |
| 47 | KC_LGUI, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, | 47 | KC_LGUI, KC_N, KC_M, KC_COMM,KC_DOT, KC_SLSH, KC_RSFT, |
| 48 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, KC_FN1, | 48 | KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(SYMB), |
| 49 | KC_DELT, CTL_T(KC_ESC), | 49 | KC_DELT, CTL_T(KC_ESC), |
| 50 | KC_PGUP, | 50 | KC_PGUP, |
| 51 | KC_PGDN,KC_TAB, KC_ENT | 51 | KC_PGDN,KC_TAB, KC_ENT |
| @@ -135,10 +135,6 @@ LAYOUT_ergodox( | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const uint16_t PROGMEM fn_actions[] = { | ||
| 139 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 140 | }; | ||
| 141 | |||
| 142 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 143 | { | 139 | { |
| 144 | // MACRODOWN only works in this function | 140 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/tonyabra_osx/keymap.c b/layouts/community/ergodox/tonyabra_osx/keymap.c index d0b5c5d9c..4f174a69d 100644 --- a/layouts/community/ergodox/tonyabra_osx/keymap.c +++ b/layouts/community/ergodox/tonyabra_osx/keymap.c | |||
| @@ -135,10 +135,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 135 | ), | 135 | ), |
| 136 | }; | 136 | }; |
| 137 | 137 | ||
| 138 | const uint16_t PROGMEM fn_actions[] = { | ||
| 139 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 140 | }; | ||
| 141 | |||
| 142 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 138 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 143 | { | 139 | { |
| 144 | // MACRODOWN only works in this function | 140 | // MACRODOWN only works in this function |
diff --git a/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c b/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c index 909127ad4..6bca18316 100644 --- a/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c +++ b/layouts/community/ergodox/twentylives_dvorak_with_hebrew/keymap.c | |||
| @@ -173,10 +173,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 173 | 173 | ||
| 174 | }; | 174 | }; |
| 175 | 175 | ||
| 176 | const uint16_t PROGMEM fn_actions[] = { | ||
| 177 | [1] = ACTION_LAYER_TAP_TOGGLE(1) | ||
| 178 | }; | ||
| 179 | |||
| 180 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 176 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 181 | { | 177 | { |
| 182 | switch(id) { | 178 | switch(id) { |
diff --git a/layouts/community/ergodox/twey/keymap.c b/layouts/community/ergodox/twey/keymap.c index 9ee318a5d..0cc98ca77 100644 --- a/layouts/community/ergodox/twey/keymap.c +++ b/layouts/community/ergodox/twey/keymap.c | |||
| @@ -183,10 +183,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 183 | ), | 183 | ), |
| 184 | }; | 184 | }; |
| 185 | 185 | ||
| 186 | const uint16_t PROGMEM fn_actions[] = { | ||
| 187 | [1] = ACTION_LAYER_TAP_TOGGLE(MDIA) // FN1 - Momentary Layer 3 (Media) | ||
| 188 | }; | ||
| 189 | |||
| 190 | // press `key`, but deactivate `layer` whilst it's held | 186 | // press `key`, but deactivate `layer` whilst it's held |
| 191 | void press_without(int pressed, int key, uint8_t layer) | 187 | void press_without(int pressed, int key, uint8_t layer) |
| 192 | { | 188 | { |
diff --git a/layouts/community/ergodox/workman_osx_mdw/keymap.c b/layouts/community/ergodox/workman_osx_mdw/keymap.c index d0f3882fa..81fd3984b 100644 --- a/layouts/community/ergodox/workman_osx_mdw/keymap.c +++ b/layouts/community/ergodox/workman_osx_mdw/keymap.c | |||
| @@ -188,7 +188,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 188 | }; | 188 | }; |
| 189 | 189 | ||
| 190 | const uint16_t PROGMEM fn_actions[] = { | 190 | const uint16_t PROGMEM fn_actions[] = { |
| 191 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB), // FN1 - Momentary Layer 1 (Symbols) | ||
| 192 | [2] = ACTION_LAYER_ON(BASE,0), // FN2 - Go back to the base layer | 191 | [2] = ACTION_LAYER_ON(BASE,0), // FN2 - Go back to the base layer |
| 193 | [3] = ACTION_LAYER_ON(DEAD,0), | 192 | [3] = ACTION_LAYER_ON(DEAD,0), |
| 194 | [4] = ACTION_LAYER_TOGGLE(DEAD), | 193 | [4] = ACTION_LAYER_TOGGLE(DEAD), |
diff --git a/layouts/community/ergodox/zweihander-macos/keymap.c b/layouts/community/ergodox/zweihander-macos/keymap.c index b4a9efb3e..f64808c4d 100644 --- a/layouts/community/ergodox/zweihander-macos/keymap.c +++ b/layouts/community/ergodox/zweihander-macos/keymap.c | |||
| @@ -137,10 +137,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | |||
| 137 | ), | 137 | ), |
| 138 | }; | 138 | }; |
| 139 | 139 | ||
| 140 | const uint16_t PROGMEM fn_actions[] = { | ||
| 141 | [1] = ACTION_LAYER_TAP_TOGGLE(SYMB) // FN1 - Momentary Layer 1 (Symbols) | ||
| 142 | }; | ||
| 143 | |||
| 144 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) | 140 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) |
| 145 | { | 141 | { |
| 146 | // MACRODOWN only works in this function | 142 | // MACRODOWN only works in this function |
