diff --git a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c index 02acc5fec9..33e36f4751 100644 --- a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c +++ b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c @@ -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( diff --git a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/readme.md b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/readme.md index 521ed1da73..3433a78626 100644 --- a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/readme.md +++ b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/readme.md @@ -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