summaryrefslogtreecommitdiffstats
path: root/layouts/community/ergodox/colemak_code_friendly/keymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/community/ergodox/colemak_code_friendly/keymap.c')
-rw-r--r--layouts/community/ergodox/colemak_code_friendly/keymap.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/layouts/community/ergodox/colemak_code_friendly/keymap.c b/layouts/community/ergodox/colemak_code_friendly/keymap.c
index 6350bd9ee2..ae5bdcc5b8 100644
--- a/layouts/community/ergodox/colemak_code_friendly/keymap.c
+++ b/layouts/community/ergodox/colemak_code_friendly/keymap.c
@@ -69,7 +69,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_H, KC_N, KC_E, KC_I, KC_O, KC_QUOT,
KC_RCBR, RALT_T(KC_K), KC_M, KC_COMM, LGUI_T(KC_DOT), RCTL_T(KC_SLSH), KC_RSFT,
KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_DEL,
- KC_INS, KC_SLCK,
+ KC_INS, KC_SCRL,
KC_PGUP,
KC_PGDN, KC_SPC, MO(LAYER_RNUM)
),
@@ -103,17 +103,17 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
- DYN_REC_START1,
- KC_TRNS, KC_TRNS, DYN_MACRO_PLAY1,
+ DM_REC1,
+ KC_TRNS, KC_TRNS, DM_PLY1,
/* right hand */
KC_TRNS, KC_TRNS, KC_ASTR, KC_LPRN, KC_RPRN, KC_MINS, KC_TRNS,
KC_EQL, M_LAMBDA, KC_7, KC_8, KC_9, KC_PLUS, KC_TRNS,
M_POINER, KC_4, KC_5, KC_6, KC_0, KC_TRNS,
KC_ENT, M_NOT_EQL, KC_1, KC_2, KC_3, KC_TRNS, KC_TRNS,
KC_0, KC_COMM, KC_DOT, KC_TRNS, KC_TRNS,
- KC_TRNS, DYN_REC_STOP,
- DYN_REC_START2,
- DYN_MACRO_PLAY2, KC_TRNS, KC_TRNS
+ KC_TRNS, DM_RSTP,
+ DM_REC2,
+ DM_PLY2, KC_TRNS, KC_TRNS
),
/* Keymap 2: Left side -> LAYER_NUM, Right side -> Shift + LAYER_BASE
*
@@ -145,15 +145,15 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_MUTE, KC_VOLD, KC_VOLU, KC_TRNS, KC_TRNS,
KC_TRNS, KC_TRNS,
- DYN_REC_START1,
- KC_TRNS, KC_TRNS, DYN_MACRO_PLAY1,
+ DM_REC1,
+ KC_TRNS, KC_TRNS, DM_PLY1,
/* right hand */
TG(1), KC_AMPR, KC_ASTR, KC_LPRN, KC_RPRN, S(KC_MINS), S(KC_BSPC),
KC_UNDS, S(KC_J), S(KC_L), S(KC_U), S(KC_Y), S(KC_SCLN), S(KC_BSLS),
S(KC_H), S(KC_N), S(KC_E), S(KC_I), S(KC_O), S(KC_QUOT),
KC_RCBR, S(KC_K), S(KC_M), S(KC_COMM), S(KC_DOT), S(KC_SLSH), KC_RSFT,
S(KC_LEFT), S(KC_DOWN), S(KC_UP), S(KC_RGHT), S(KC_DEL),
- S(KC_INS), S(KC_SLCK),
+ S(KC_INS), S(KC_SCRL),
S(KC_PGUP),
S(KC_PGDN), S(KC_SPC), KC_CAPS
),
@@ -195,9 +195,9 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
M_POINER, KC_4, KC_5, KC_6, KC_0, KC_TRNS,
KC_ENT, M_NOT_EQL, KC_1, KC_2, KC_3, KC_TRNS, KC_TRNS,
KC_0, KC_COMM, KC_DOT, KC_TRNS, KC_TRNS,
- KC_TRNS, DYN_REC_STOP,
- DYN_REC_START2,
- DYN_MACRO_PLAY2, KC_TRNS, KC_TRNS
+ KC_TRNS, DM_RSTP,
+ DM_REC2,
+ DM_PLY2, KC_TRNS, KC_TRNS
),
};
@@ -206,13 +206,13 @@ static bool recording_dynamic_macro;
static bool process_record_dynamic_macro_wrapper(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
/* detect dynamic macro recording state */
- case DYN_REC_START1:
- case DYN_REC_START2:
+ case QK_DYNAMIC_MACRO_RECORD_START_1:
+ case QK_DYNAMIC_MACRO_RECORD_START_2:
if (record->event.pressed) {
recording_dynamic_macro = true;
}
break;
- case DYN_REC_STOP:
+ case QK_DYNAMIC_MACRO_RECORD_STOP:
if (record->event.pressed) {
recording_dynamic_macro = false;
}