aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorJames Young <xxiinophobia@yahoo.com>2020-02-29 12:00:00 -0800
committerJames Young <xxiinophobia@yahoo.com>2020-02-29 11:59:30 -0800
commit26eef35f07698d23aafae90e1c230b52e100a334 (patch)
treeeb8e43fc58ca55788e6e89430af0db55ea79e324 /layouts
parent85041ff05bf0e5f4ff4535caf6e638491a5614c8 (diff)
downloadqmk_firmware-26eef35f07698d23aafae90e1c230b52e100a334.tar.gz
qmk_firmware-26eef35f07698d23aafae90e1c230b52e100a334.zip
2020 February 29 Breaking Changes Update (#8064)
Diffstat (limited to 'layouts')
-rw-r--r--layouts/community/60_iso/unxmaal/keymap.c2
-rw-r--r--layouts/community/ergodox/adam/keymap.c7
-rw-r--r--layouts/community/ergodox/guni/keymap.c7
-rw-r--r--layouts/community/ergodox/townk_osx/keymap.c3
4 files changed, 3 insertions, 16 deletions
diff --git a/layouts/community/60_iso/unxmaal/keymap.c b/layouts/community/60_iso/unxmaal/keymap.c
index 07fca874e..455d969f4 100644
--- a/layouts/community/60_iso/unxmaal/keymap.c
+++ b/layouts/community/60_iso/unxmaal/keymap.c
@@ -109,7 +109,6 @@ enum function_id {
109 109
110const uint16_t PROGMEM fn_actions[] = { 110const uint16_t PROGMEM fn_actions[] = {
111 [1] = ACTION_LAYER_TOGGLE(1), // Toggle Arrow Layer overlay 111 [1] = ACTION_LAYER_TOGGLE(1), // Toggle Arrow Layer overlay
112 [2] = ACTION_LAYER_TAP_KEY(2, KC_CAPS), // Tap to toggle caps lock and hold to activate function layer
113 [3] = ACTION_LAYER_TOGGLE(3), // Toggle Underglow Layer overlay 112 [3] = ACTION_LAYER_TOGGLE(3), // Toggle Underglow Layer overlay
114 [4] = ACTION_FUNCTION(RGBLED_TOGGLE), //Turn on/off underglow 113 [4] = ACTION_FUNCTION(RGBLED_TOGGLE), //Turn on/off underglow
115 [5] = ACTION_FUNCTION(RGBLED_STEP_MODE), // Change underglow mode 114 [5] = ACTION_FUNCTION(RGBLED_STEP_MODE), // Change underglow mode
@@ -120,7 +119,6 @@ const uint16_t PROGMEM fn_actions[] = {
120 [10] = ACTION_FUNCTION(RGBLED_INCREASE_VAL), 119 [10] = ACTION_FUNCTION(RGBLED_INCREASE_VAL),
121 [11] = ACTION_FUNCTION(RGBLED_DECREASE_VAL), 120 [11] = ACTION_FUNCTION(RGBLED_DECREASE_VAL),
122 [12] = ACTION_FUNCTION(SHIFT_ESC), 121 [12] = ACTION_FUNCTION(SHIFT_ESC),
123 [13] = ACTION_LAYER_TAP_KEY(1, KC_SPACE),
124}; 122};
125 123
126const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) 124const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
diff --git a/layouts/community/ergodox/adam/keymap.c b/layouts/community/ergodox/adam/keymap.c
index 100bb6819..d17f0b83b 100644
--- a/layouts/community/ergodox/adam/keymap.c
+++ b/layouts/community/ergodox/adam/keymap.c
@@ -127,13 +127,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
127 ) 127 )
128}; 128};
129 129
130const uint16_t PROGMEM fn_actions[] = {
131 [1] = ACTION_LAYER_TAP_KEY(FLOCK,KC_F),
132 [2] = ACTION_LAYER_TAP_KEY(JLOCK,KC_J),
133 [11] = ACTION_LAYER_TAP_KEY(FLOCK,LSFT(KC_F)),
134 [12] = ACTION_LAYER_TAP_KEY(JLOCK,LSFT(KC_J))
135};
136
137const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) 130const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
138{ 131{
139 // MACRODOWN only works in this function 132 // MACRODOWN only works in this function
diff --git a/layouts/community/ergodox/guni/keymap.c b/layouts/community/ergodox/guni/keymap.c
index 021271c2e..14d6f8d3a 100644
--- a/layouts/community/ergodox/guni/keymap.c
+++ b/layouts/community/ergodox/guni/keymap.c
@@ -8,7 +8,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
8 // left hand 8 // left hand
9 KC_EQL , KC_1, KC_2, KC_3, KC_4, KC_5, KC_LBRC, 9 KC_EQL , KC_1, KC_2, KC_3, KC_4, KC_5, KC_LBRC,
10 KC_FN25 , KC_Q, KC_W, KC_E, KC_R, KC_T, KC_HOME, 10 KC_FN25 , KC_Q, KC_W, KC_E, KC_R, KC_T, KC_HOME,
11 KC_FN27 , KC_A, KC_S, KC_D, KC_F, KC_G, 11 LT(1, KC_CAPS) , KC_A, KC_S, KC_D, KC_F, KC_G,
12 KC_LSFT , KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGUP, 12 KC_LSFT , KC_Z, KC_X, KC_C, KC_V, KC_B, KC_PGUP,
13 KC_LGUI , KC_GRV,KC_LEFT,KC_RGHT,KC_LALT, 13 KC_LGUI , KC_GRV,KC_LEFT,KC_RGHT,KC_LALT,
14 KC_NO , KC_NO , 14 KC_NO , KC_NO ,
@@ -17,7 +17,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
17 // right hand 17 // right hand
18 KC_RBRC , KC_6, KC_7 , KC_8, KC_9, KC_0, KC_MINS, 18 KC_RBRC , KC_6, KC_7 , KC_8, KC_9, KC_0, KC_MINS,
19 KC_END , KC_Y, KC_U , KC_I, KC_O, KC_P, KC_FN28, 19 KC_END , KC_Y, KC_U , KC_I, KC_O, KC_P, KC_FN28,
20 KC_H , KC_J, KC_K , KC_L, KC_SCLN,KC_FN30, 20 KC_H , KC_J, KC_K , KC_L, KC_SCLN,LT(1, KC_QUOT),
21 KC_PGDN , KC_N, KC_M , KC_COMM,KC_DOT, KC_SLSH,KC_FN29, 21 KC_PGDN , KC_N, KC_M , KC_COMM,KC_DOT, KC_SLSH,KC_FN29,
22 KC_RALT , KC_DOWN,KC_UP, KC_NO ,KC_RGUI, 22 KC_RALT , KC_DOWN,KC_UP, KC_NO ,KC_RGUI,
23 KC_NO , KC_NO, 23 KC_NO , KC_NO,
@@ -133,12 +133,9 @@ const uint16_t PROGMEM fn_actions[] = {
133 [24] = ACTION_LAYER_SET(2, ON_PRESS), 133 [24] = ACTION_LAYER_SET(2, ON_PRESS),
134 [25] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_TAB), 134 [25] = ACTION_MODS_TAP_KEY(MOD_LCTL, KC_TAB),
135 [26] = ACTION_LAYER_SET(1, ON_PRESS), 135 [26] = ACTION_LAYER_SET(1, ON_PRESS),
136 [27] = ACTION_LAYER_TAP_KEY(1, KC_CAPS),
137 [28] = ACTION_MODS_TAP_KEY(MOD_RCTL,KC_BSLS), 136 [28] = ACTION_MODS_TAP_KEY(MOD_RCTL,KC_BSLS),
138 //[29] = ACTION_LAYER_TOGGLE(4), 137 //[29] = ACTION_LAYER_TOGGLE(4),
139 [29] = ACTION_MODS_TAP_KEY(MOD_RSFT,KC_ESC), 138 [29] = ACTION_MODS_TAP_KEY(MOD_RSFT,KC_ESC),
140 [30] = ACTION_LAYER_TAP_KEY(1, KC_QUOT),
141 //[] = ACTION_LAYER_TAP_KEY(4, KC_S),
142}; 139};
143 140
144 141
diff --git a/layouts/community/ergodox/townk_osx/keymap.c b/layouts/community/ergodox/townk_osx/keymap.c
index e36d71432..55394fab2 100644
--- a/layouts/community/ergodox/townk_osx/keymap.c
+++ b/layouts/community/ergodox/townk_osx/keymap.c
@@ -107,7 +107,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
107 MEH_T(KC_F17), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_EQL, 107 MEH_T(KC_F17), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_EQL,
108 KC_H, KC_J, KC_K, KC_L, KC_SCLN, CTL_T(KC_QUOT), 108 KC_H, KC_J, KC_K, KC_L, KC_SCLN, CTL_T(KC_QUOT),
109 ALL_T(KC_F19), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_FN2, 109 ALL_T(KC_F19), KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_FN2,
110 KC_RGUI, KC_RALT, CTL_T(KC_LBRC), KC_FN3, KC_FN1, 110 KC_RGUI, KC_RALT, CTL_T(KC_LBRC), LT(KEYPAD, KC_RBRC), KC_FN1,
111 M_OSXCPY, M_OSXPST, 111 M_OSXCPY, M_OSXPST,
112 KC_PGUP, 112 KC_PGUP,
113 KC_PGDN, KC_ENT, KC_SPC), 113 KC_PGDN, KC_ENT, KC_SPC),
@@ -197,7 +197,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
197const uint16_t PROGMEM fn_actions[] = { 197const uint16_t PROGMEM fn_actions[] = {
198 [1] = ACTION_LAYER_ONESHOT(FN), 198 [1] = ACTION_LAYER_ONESHOT(FN),
199 [2] = ACTION_MODS_ONESHOT(MOD_LSFT), // Sticky shift light. Tap for the next keypress to be shifted. Hold for regular shift. 199 [2] = ACTION_MODS_ONESHOT(MOD_LSFT), // Sticky shift light. Tap for the next keypress to be shifted. Hold for regular shift.
200 [3] = ACTION_LAYER_TAP_KEY(KEYPAD, KC_RBRC),
201}; 200};
202 201
203const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { 202const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) {