skeletyl: tap dance save
This commit is contained in:
parent
767e2faab4
commit
61c78c41f8
3 changed files with 14 additions and 1 deletions
|
@ -1,11 +1,22 @@
|
||||||
#include QMK_KEYBOARD_H
|
#include QMK_KEYBOARD_H
|
||||||
#include "keymap_german.h"
|
#include "keymap_german.h"
|
||||||
|
|
||||||
|
// Tap Dance declarations
|
||||||
|
enum {
|
||||||
|
TD_SAVE,
|
||||||
|
};
|
||||||
|
|
||||||
|
// Tap Dance definitions
|
||||||
|
tap_dance_action_t tap_dance_actions[] = {
|
||||||
|
// Tap = s; hold = ctl, double tap = ctl +s
|
||||||
|
[TD_SAVE] = ACTION_TAP_DANCE_DOUBLE(LCTL_T(KC_S), LCTL(KC_S)),
|
||||||
|
};
|
||||||
|
|
||||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
// Buchstaben
|
// Buchstaben
|
||||||
[0] = LAYOUT_split_3x5_3(
|
[0] = LAYOUT_split_3x5_3(
|
||||||
LT(0,KC_Q), LT(0,KC_W), LT(0,KC_F), KC_P, KC_B, KC_J, KC_L, KC_U, DE_Z, KC_BSPC,
|
LT(0,KC_Q), LT(0,KC_W), LT(0,KC_F), KC_P, KC_B, KC_J, KC_L, KC_U, DE_Z, KC_BSPC,
|
||||||
LT(0,KC_A), LALT_T(KC_R), LCTL_T(KC_S), LSFT_T(KC_T), KC_G, KC_M, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), KC_O,
|
LT(0,KC_A), LALT_T(KC_R), TD(TD_SAVE), LSFT_T(KC_T), KC_G, KC_M, LSFT_T(KC_N), LCTL_T(KC_E), LALT_T(KC_I), KC_O,
|
||||||
DE_Y, LT(0,KC_X), LT(0,KC_C), LSFT_T(KC_D), LT(0,KC_V), KC_K, LSFT_T(KC_H), DE_COMM, DE_DOT, DE_MINS,
|
DE_Y, LT(0,KC_X), LT(0,KC_C), LSFT_T(KC_D), LT(0,KC_V), KC_K, LSFT_T(KC_H), DE_COMM, DE_DOT, DE_MINS,
|
||||||
XXXXXXX, LT(3, KC_DEL), LT(2, KC_ENT), LT(1, KC_SPC), OSL(3), XXXXXXX
|
XXXXXXX, LT(3, KC_DEL), LT(2, KC_ENT), LT(1, KC_SPC), OSL(3), XXXXXXX
|
||||||
),
|
),
|
||||||
|
|
|
@ -16,3 +16,4 @@
|
||||||
- combos
|
- combos
|
||||||
- kurze keycodes
|
- kurze keycodes
|
||||||
- led
|
- led
|
||||||
|
- https://github.com/qmk/qmk_firmware/blob/master/docs/feature_autocorrect.md
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
CAPS_WORD_ENABLE = yes
|
CAPS_WORD_ENABLE = yes
|
||||||
AUTO_SHIFT_ENABLE = yes
|
AUTO_SHIFT_ENABLE = yes
|
||||||
|
TAP_DANCE_ENABLE = yes
|
||||||
|
|
Loading…
Reference in a new issue