|
|
@ -13,8 +13,8 @@
|
|
|
|
#define M_CTRL_CMDV 1
|
|
|
|
#define M_CTRL_CMDV 1
|
|
|
|
#define M_CTRL_CMDC 2
|
|
|
|
#define M_CTRL_CMDC 2
|
|
|
|
#define M_MEH_SH_ACUT 3
|
|
|
|
#define M_MEH_SH_ACUT 3
|
|
|
|
#define M_DE_PLUS_CTRLALT 12
|
|
|
|
#define M_DE_OSX_PLUS_CTRLALT 12
|
|
|
|
#define M_DE_CIRC_CTRLCMD 13
|
|
|
|
#define M_DE_OSX_CIRC_CTRLCMD 13
|
|
|
|
#define M_TOGGLE_5 14
|
|
|
|
#define M_TOGGLE_5 14
|
|
|
|
#define M_CTL_SFT_HASH 15
|
|
|
|
#define M_CTL_SFT_HASH 15
|
|
|
|
|
|
|
|
|
|
|
@ -54,21 +54,21 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|
|
|
// Otherwise, it needs KC_*
|
|
|
|
// Otherwise, it needs KC_*
|
|
|
|
[BASE] = KEYMAP( // layer 0 : default
|
|
|
|
[BASE] = KEYMAP( // layer 0 : default
|
|
|
|
// left hand
|
|
|
|
// left hand
|
|
|
|
KC_ESC, DE_1, DE_2, DE_3, DE_4, DE_5, M(M_CTL_SFT_HASH),
|
|
|
|
KC_ESC, DE_OSX_1, DE_OSX_2, DE_OSX_3, DE_OSX_4, DE_OSX_5, M(M_CTL_SFT_HASH),
|
|
|
|
KC_TAB, DE_Q, DE_W, DE_E, DE_R, DE_T, KC_LGUI,
|
|
|
|
KC_TAB, DE_OSX_Q, DE_OSX_W, DE_OSX_E, DE_OSX_R, DE_OSX_T, KC_LGUI,
|
|
|
|
KC_LALT, DE_A, DE_S, DE_D, DE_F, DE_G,
|
|
|
|
KC_LALT, DE_OSX_A, DE_OSX_S, DE_OSX_D, DE_OSX_F, DE_OSX_G,
|
|
|
|
KC_LSFT, CTL_T(DE_Y), DE_X, DE_C, DE_V, DE_B, KC_LALT,
|
|
|
|
KC_LSFT, CTL_T(DE_OSX_Y), DE_OSX_X, DE_OSX_C, DE_OSX_V, DE_OSX_B, KC_LALT,
|
|
|
|
LT(SYMB,DE_LESS), M(M_DE_CIRC_CTRLCMD), M(M_DE_PLUS_CTRLALT), KC_UP, KC_DOWN,
|
|
|
|
LT(SYMB,DE_OSX_LESS), M(M_DE_OSX_CIRC_CTRLCMD), M(M_DE_OSX_PLUS_CTRLALT), KC_UP, KC_DOWN,
|
|
|
|
M(M_MEH_SH_ACUT), TG(2),
|
|
|
|
M(M_MEH_SH_ACUT), TG(2),
|
|
|
|
KC_HOME,
|
|
|
|
KC_HOME,
|
|
|
|
KC_BSPC,KC_DEL, LT(SMLY,KC_END),
|
|
|
|
KC_BSPC,KC_DEL, LT(SMLY,KC_END),
|
|
|
|
// right hand
|
|
|
|
// right hand
|
|
|
|
M(M_CTL_SFT_HASH), DE_6, DE_7, DE_8, DE_9, DE_0, DE_SS,
|
|
|
|
M(M_CTL_SFT_HASH), DE_OSX_6, DE_OSX_7, DE_OSX_8, DE_OSX_9, DE_OSX_0, DE_OSX_SS,
|
|
|
|
KC_RGUI, DE_Z, DE_U, DE_I, DE_O, DE_P, DE_UE,
|
|
|
|
KC_RGUI, DE_OSX_Z, DE_OSX_U, DE_OSX_I, DE_OSX_O, DE_OSX_P, DE_OSX_UE,
|
|
|
|
DE_H, DE_J, DE_K, DE_L, DE_OE, ALT_T(DE_AE),
|
|
|
|
DE_OSX_H, DE_OSX_J, DE_OSX_K, DE_OSX_L, DE_OSX_OE, ALT_T(DE_OSX_AE),
|
|
|
|
KC_RALT, DE_N, DE_M, DE_COMM,DE_DOT, CTL_T(DE_MINS), KC_RSFT,
|
|
|
|
KC_RALT, DE_OSX_N, DE_OSX_M, DE_OSX_COMM,DE_OSX_DOT, CTL_T(DE_OSX_MINS), KC_RSFT,
|
|
|
|
KC_LEFT, KC_RIGHT,LGUI(KC_LSFT),LALT(KC_LSFT), LT(SYMB,DE_PLUS),
|
|
|
|
KC_LEFT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
|
|
|
|
KC_TRNS,
|
|
|
|
KC_TRNS,
|
|
|
|
KC_TRNS,KC_DEL,KC_TRNS,
|
|
|
|
KC_TRNS,KC_DEL,KC_TRNS,
|
|
|
|
// right hand
|
|
|
|
// right hand
|
|
|
|
M(M_TOGGLE_5), KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
|
|
|
M(M_TOGGLE_5), KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
|
|
|
KC_TRNS, LALT(LSFT(KC_7)), LALT(KC_5), LALT(KC_6), DE_LESS, DE_MORE, DE_EXLM,
|
|
|
|
KC_TRNS, LALT(LSFT(KC_7)), LALT(KC_5), LALT(KC_6), DE_OSX_LESS, DE_OSX_MORE, DE_OSX_EXLM,
|
|
|
|
DE_SLSH, DE_LPRN, DE_RPRN, LALT(KC_8), LALT(KC_9), DE_HASH,
|
|
|
|
DE_OSX_SLSH, DE_OSX_LPRN, DE_OSX_RPRN, LALT(KC_8), LALT(KC_9), DE_OSX_HASH,
|
|
|
|
KC_TRNS, DE_PIPE, DE_TILD, DE_CIRC, KC_UP, DE_MINS, LSFT(KC_4),
|
|
|
|
KC_TRNS, DE_OSX_PIPE, DE_OSX_TILD, DE_OSX_CIRC, KC_UP, DE_OSX_MINS, LSFT(KC_4),
|
|
|
|
DE_QUOT, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS,
|
|
|
|
DE_OSX_QUOT, KC_LEFT, KC_DOWN, KC_RIGHT, KC_TRNS,
|
|
|
|
KC_F13, KC_F12,
|
|
|
|
KC_F13, KC_F12,
|
|
|
|
KC_F14,
|
|
|
|
KC_F14,
|
|
|
|
KC_F15, KC_TRNS, KC_TRNS
|
|
|
|
KC_F15, KC_TRNS, KC_TRNS
|
|
|
@ -210,9 +210,9 @@ KEYMAP(
|
|
|
|
// right hand
|
|
|
|
// right hand
|
|
|
|
KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
|
|
|
KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
|
|
|
KC_TRNS, KC_UP, KC_7, KC_8, KC_9, LSFT(KC_RBRC), KC_F12,
|
|
|
|
KC_TRNS, KC_UP, KC_7, KC_8, KC_9, LSFT(KC_RBRC), KC_F12,
|
|
|
|
KC_DOWN, KC_4, KC_5, KC_6, KC_RBRC, DE_MINS,
|
|
|
|
KC_DOWN, KC_4, KC_5, KC_6, KC_RBRC, DE_OSX_MINS,
|
|
|
|
KC_TRNS, LSFT(KC_6), KC_1, KC_2, KC_3, LSFT(KC_7), KC_TRNS,
|
|
|
|
KC_TRNS, LSFT(KC_6), KC_1, KC_2, KC_3, LSFT(KC_7), KC_TRNS,
|
|
|
|
KC_0,KC_DOT, KC_COMM, DE_EQL, KC_TRNS,
|
|
|
|
KC_0,KC_DOT, KC_COMM, DE_OSX_EQL, KC_TRNS,
|
|
|
|
KC_TRNS, KC_TRNS,
|
|
|
|
KC_TRNS, KC_TRNS,
|
|
|
|
KC_TRNS,
|
|
|
|
KC_TRNS,
|
|
|
|
KC_TRNS, KC_TRNS, KC_TRNS
|
|
|
|
KC_TRNS, KC_TRNS, KC_TRNS
|
|
|
@ -309,7 +309,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
|
|
|
if (timer_elapsed(start) > 150){
|
|
|
|
if (timer_elapsed(start) > 150){
|
|
|
|
return MACRO(U(LCTRL),U(LSFT),U(LALT),END);
|
|
|
|
return MACRO(U(LCTRL),U(LSFT),U(LALT),END);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
return MACRO(U(LCTRL),U(LALT),T(EQL),U(LSFT),END); //cannot use DE_ACUT here, as macro needs KC_ prefix
|
|
|
|
return MACRO(U(LCTRL),U(LALT),T(EQL),U(LSFT),END); //cannot use DE_OSX_ACUT here, as macro needs KC_ prefix
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
@ -325,7 +325,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case M_DE_CIRC_CTRLCMD:
|
|
|
|
case M_DE_OSX_CIRC_CTRLCMD:
|
|
|
|
if (record->event.pressed) {
|
|
|
|
if (record->event.pressed) {
|
|
|
|
start = timer_read();
|
|
|
|
start = timer_read();
|
|
|
|
return MACRO(D(LCTRL),D(LGUI),END);
|
|
|
|
return MACRO(D(LCTRL),D(LGUI),END);
|
|
|
@ -337,7 +337,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case M_DE_PLUS_CTRLALT:
|
|
|
|
case M_DE_OSX_PLUS_CTRLALT:
|
|
|
|
if (record->event.pressed) {
|
|
|
|
if (record->event.pressed) {
|
|
|
|
start = timer_read();
|
|
|
|
start = timer_read();
|
|
|
|
return MACRO(D(LCTRL),D(LALT),END);
|
|
|
|
return MACRO(D(LCTRL),D(LALT),END);
|
|
|
|