skeletyl: add combos
This commit is contained in:
parent
09b24cc759
commit
d42b37ab2b
2 changed files with 41 additions and 1 deletions
|
@ -1,6 +1,45 @@
|
|||
#include QMK_KEYBOARD_H
|
||||
#include "keymap_german.h"
|
||||
|
||||
// combos; https://github.com/qmk/qmk_firmware/blob/master/docs/feature_combo.md
|
||||
enum combos {
|
||||
C_AE,
|
||||
C_UE,
|
||||
C_OE,
|
||||
C_SS,
|
||||
C_KA,
|
||||
C_KK,
|
||||
C_ESC,
|
||||
C_MOV,
|
||||
C_MED
|
||||
C_SV // Strg + S
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM ae_combo[] = {LT(0,KC_Q), LT(0,KC_A), COMBO_END};
|
||||
const uint16_t PROGMEM ue_combo[] = {KC_U, LCTL_T(KC_E), COMBO_END};
|
||||
const uint16_t PROGMEM oe_combo[] = {KC_BSPC, KC_O, COMBO_END};
|
||||
const uint16_t PROGMEM ss_combo[] = {LT(0,KC_F), LCTL_T(KC_S), COMBO_END};
|
||||
const uint16_t PROGMEM ka_combo[] = {LALT_T(KC_R), LSFT_T(KC_T), COMBO_END};
|
||||
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 mov_combo[] = {LT(2, KC_ENT), LT(1, KC_SPC), COMBO_END};
|
||||
const uint16_t PROGMEM med_combo[] = {LT(3, KC_DEL), OSL(3), COMBO_END};
|
||||
const uint16_t PROGMEM sv_combo[] = {LCTL_T(KC_S), LT(0,KC_C) COMBO_END};
|
||||
|
||||
combo_t key_combos[] = {
|
||||
[ae] = COMBO(ae_combo, DE_ADIA),
|
||||
[ue] = COMBO(ue_combo, DE_UDIA),
|
||||
[oe] = COMBO(oe_combo, DE_ODIA),
|
||||
[ss] = COMBO(ss_combo, DE_SS),
|
||||
[ka] = COMBO(ka_combo, LCTL(LALT(KC_A))),
|
||||
[kk] = COMBO(kk_combo, LCTL(LALT(KC_K))),
|
||||
[esc] = COMBO(esc_combo, KC_ESC),
|
||||
[mov] = COMBO(mov_combo, TO(3)),
|
||||
[med] = COMBO(med_combo, TO(4)),
|
||||
[sv] = COMBO(sv_combo, LCTL(KC_S)),
|
||||
};
|
||||
|
||||
// keymap
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
// Buchstaben
|
||||
[0] = LAYOUT_split_3x5_3(
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
|
||||
## ToDo
|
||||
|
||||
- tapdance fuer speichern
|
||||
- tapdance fuer speichern, als combo mit s + c
|
||||
- combos
|
||||
- kurze keycodes
|
||||
- led
|
||||
- https://github.com/qmk/qmk_firmware/blob/master/docs/feature_autocorrect.md
|
||||
|
|
Loading…
Reference in a new issue