skeletyl, sweep: dia-layer on shift and thumg

This commit is contained in:
Michael Grote 2024-03-24 16:11:08 +01:00
parent b5016a3642
commit 598df40dc7
3 changed files with 23 additions and 7 deletions

View file

@ -64,7 +64,8 @@ enum combos {
C_KK, C_KK,
C_ESC, C_ESC,
C_MED, C_MED,
C_DIA, C_DIA_T,
C_DIA_S,
C_SV, // Strg + S C_SV, // Strg + S
C_WE // Windows Explorer C_WE // Windows Explorer
}; };
@ -74,6 +75,7 @@ const uint16_t PROGMEM kk_combo[] = {LSFT_T(KC_N), LALT_T(KC_I), COMBO_END}
const uint16_t PROGMEM esc_combo[] = {LCTL_T(KC_S), LSFT_T(KC_T), COMBO_END}; const uint16_t PROGMEM esc_combo[] = {LCTL_T(KC_S), LSFT_T(KC_T), COMBO_END};
const uint16_t PROGMEM med_combo[] = {LT(3, KC_DEL), MO(3), COMBO_END}; const uint16_t PROGMEM med_combo[] = {LT(3, KC_DEL), MO(3), COMBO_END};
const uint16_t PROGMEM dia_combo[] = {LT(2, KC_ENT), LT(1, KC_SPC), COMBO_END}; const uint16_t PROGMEM dia_combo[] = {LT(2, KC_ENT), LT(1, KC_SPC), COMBO_END};
const uint16_t PROGMEM dia_combo[] = {LSFT_T(KC_T), LSFT_T(KC_N), COMBO_END};
const uint16_t PROGMEM sv_combo[] = {LCTL_T(KC_S), LT(0,KC_C), COMBO_END}; const uint16_t PROGMEM sv_combo[] = {LCTL_T(KC_S), LT(0,KC_C), COMBO_END};
const uint16_t PROGMEM we_combo[] = {LT(0,KC_W), LCTL_T(KC_E), COMBO_END}; const uint16_t PROGMEM we_combo[] = {LT(0,KC_W), LCTL_T(KC_E), COMBO_END};
@ -82,7 +84,8 @@ combo_t key_combos[] = {
[C_KK] = COMBO(kk_combo, LCTL(LALT(KC_K))), [C_KK] = COMBO(kk_combo, LCTL(LALT(KC_K))),
[C_ESC] = COMBO(esc_combo, KC_ESC), [C_ESC] = COMBO(esc_combo, KC_ESC),
[C_MED] = COMBO(med_combo, MO(4)), [C_MED] = COMBO(med_combo, MO(4)),
[C_DIA] = COMBO(dia_combo, OSL(5)), [C_DIA_T] = COMBO(dia_combo, OSL(5)),
[C_DIA_S] = COMBO(dia_combo, OSL(5)),
[C_SV] = COMBO(sv_combo, LCTL(KC_S)), [C_SV] = COMBO(sv_combo, LCTL(KC_S)),
[C_WE] = COMBO(we_combo, LGUI(KC_E)), [C_WE] = COMBO(we_combo, LGUI(KC_E)),
}; };

View file

@ -7,7 +7,8 @@ enum combos {
C_KK, C_KK,
C_ESC, C_ESC,
C_MED, C_MED,
C_DIA, C_DIA_T,
C_DIA_S,
C_SV, // Strg + S C_SV, // Strg + S
C_WE // Windows Explorer C_WE // Windows Explorer
}; };
@ -17,6 +18,7 @@ const uint16_t PROGMEM kk_combo[] = {LSFT_T(KC_N), LALT_T(KC_I), COMBO_END}
const uint16_t PROGMEM esc_combo[] = {LCTL_T(KC_S), LSFT_T(KC_T), COMBO_END}; const uint16_t PROGMEM esc_combo[] = {LCTL_T(KC_S), LSFT_T(KC_T), COMBO_END};
const uint16_t PROGMEM med_combo[] = {LT(3, KC_DEL), MO(3), COMBO_END}; const uint16_t PROGMEM med_combo[] = {LT(3, KC_DEL), MO(3), COMBO_END};
const uint16_t PROGMEM dia_combo[] = {LT(2, KC_ENT), LT(1, KC_SPC), COMBO_END}; const uint16_t PROGMEM dia_combo[] = {LT(2, KC_ENT), LT(1, KC_SPC), COMBO_END};
const uint16_t PROGMEM dia_combo[] = {LSFT_T(KC_T), LSFT_T(KC_N), COMBO_END};
const uint16_t PROGMEM sv_combo[] = {LCTL_T(KC_S), LT(0,KC_C), COMBO_END}; const uint16_t PROGMEM sv_combo[] = {LCTL_T(KC_S), LT(0,KC_C), COMBO_END};
const uint16_t PROGMEM we_combo[] = {LT(0,KC_W), LCTL_T(KC_E), COMBO_END}; const uint16_t PROGMEM we_combo[] = {LT(0,KC_W), LCTL_T(KC_E), COMBO_END};
@ -25,7 +27,8 @@ combo_t key_combos[] = {
[C_KK] = COMBO(kk_combo, LCTL(LALT(KC_K))), [C_KK] = COMBO(kk_combo, LCTL(LALT(KC_K))),
[C_ESC] = COMBO(esc_combo, KC_ESC), [C_ESC] = COMBO(esc_combo, KC_ESC),
[C_MED] = COMBO(med_combo, MO(4)), [C_MED] = COMBO(med_combo, MO(4)),
[C_DIA] = COMBO(dia_combo, OSL(5)), [C_DIA_T] = COMBO(dia_combo, OSL(5)),
[C_DIA_S] = COMBO(dia_combo, OSL(5)),
[C_SV] = COMBO(sv_combo, LCTL(KC_S)), [C_SV] = COMBO(sv_combo, LCTL(KC_S)),
[C_WE] = COMBO(we_combo, LGUI(KC_E)), [C_WE] = COMBO(we_combo, LGUI(KC_E)),
}; };

View file

@ -82,7 +82,7 @@ DIACRETICS Layer
| | | | | | | | | | | | | | | |
------------------- ------------------- ------------------- -------------------
Combos 1/2 Combos 1/3
------------------------------- ------------------------------- ------------------------------- -------------------------------
| | | | | | | | | | | | | | | | | | | | | | | |
------------------------------- ------------------------------- ------------------------------- -------------------------------
@ -90,10 +90,10 @@ Combos 1/2
------------------------------- ------------------------------- ------------------------------- -------------------------------
| | | | | | | | | | | | | | | | | | | | | | | |
------------------------------- ------------------------------- ------------------------------- -------------------------------
| |MEDIA| DIA | | DIA |MEDIA| | | |MEDIA| DIA1| | DIA1|MEDIA| |
------------------- ------------------- ------------------- -------------------
Combos 2/2 Combos 2/3
------------------------------- ------------------------------- ------------------------------- -------------------------------
| | WE | | | | | | | | | | | | WE | | | | | | | | | |
------------------------------- ------------------------------- ------------------------------- -------------------------------
@ -104,4 +104,14 @@ Combos 2/2
| | | | | | | | | | | | | | | |
------------------- ------------------- ------------------- -------------------
Combos 3/3
------------------------------- -------------------------------
| | | | | | | | | | | |
------------------------------- -------------------------------
| | | | DIA2| | | | DIA2| | | |
------------------------------- -------------------------------
| | | | | | | | | | | |
------------------------------- -------------------------------
| | | | | | | |
------------------- -------------------
``` ```