skeletyl, sweep: remove dia-layer and resort to tap'n'holds #1

Merged
mg merged 16 commits from dia_tab into quotengrote 2024-08-05 14:25:30 +02:00
2 changed files with 6 additions and 1 deletions
Showing only changes of commit 32ff604b00 - Show all commits

View file

@ -55,9 +55,9 @@ bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
return false;
}
// combos; https://github.com/qmk/qmk_firmware/blob/master/docs/feature_combo.md
enum combos {
C_ALT,
C_KA,
C_KK,
C_ESC,
@ -66,6 +66,7 @@ enum combos {
C_WE // Windows Explorer
};
const uint16_t PROGMEM alt_combo[] = {LCTL_T(KC_E), KC_I, COMBO_END};
const uint16_t PROGMEM ka_combo[] = {KC_R, LSFT_T(KC_T), COMBO_END};
const uint16_t PROGMEM kk_combo[] = {LSFT_T(KC_N), KC_I, COMBO_END};
const uint16_t PROGMEM esc_combo[] = {LCTL_T(KC_S), LSFT_T(KC_T), COMBO_END};
@ -74,6 +75,7 @@ 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};
combo_t key_combos[] = {
[C_ALT] = COMBO(alt_combo, KC_LALT),
[C_KA] = COMBO(ka_combo, LCTL(LALT(KC_A))),
[C_KK] = COMBO(kk_combo, LCTL(LALT(KC_K))),
[C_ESC] = COMBO(esc_combo, KC_ESC),

View file

@ -3,6 +3,7 @@
// combos; https://github.com/qmk/qmk_firmware/blob/master/docs/feature_combo.md
enum combos {
C_ALT,
C_KA,
C_KK,
C_ESC,
@ -11,6 +12,7 @@ enum combos {
C_WE // Windows Explorer
};
const uint16_t PROGMEM alt_combo[] = {LCTL_T(KC_E), KC_I, COMBO_END};
const uint16_t PROGMEM ka_combo[] = {KC_R, LSFT_T(KC_T), COMBO_END};
const uint16_t PROGMEM kk_combo[] = {LSFT_T(KC_N), KC_I, COMBO_END};
const uint16_t PROGMEM esc_combo[] = {LCTL_T(KC_S), LSFT_T(KC_T), COMBO_END};
@ -19,6 +21,7 @@ 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};
combo_t key_combos[] = {
[C_ALT] = COMBO(alt_combo, KC_LALT),
[C_KA] = COMBO(ka_combo, LCTL(LALT(KC_A))),
[C_KK] = COMBO(kk_combo, LCTL(LALT(KC_K))),
[C_ESC] = COMBO(esc_combo, KC_ESC),