skeletyl: fix layer switch to mov
This commit is contained in:
parent
68e89645f5
commit
979f450d1f
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
XXXXXXX, _______, _______, _______, _______, XXXXXXX
|
XXXXXXX, _______, _______, _______, _______, XXXXXXX
|
||||||
),
|
),
|
||||||
// Media
|
// Media
|
||||||
[3] = LAYOUT_split_3x5_3(
|
[4] = LAYOUT_split_3x5_3(
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, KC_PSCR, KC_VOLU, KC_VOLU, XXXXXXX, XXXXXXX, XXXXXXX, QK_CAPS_WORD_TOGGLE,
|
XXXXXXX, XXXXXXX, XXXXXXX, KC_PSCR, KC_VOLU, KC_VOLU, XXXXXXX, XXXXXXX, XXXXXXX, QK_CAPS_WORD_TOGGLE,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MUTE, KC_MUTE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_MUTE, KC_MUTE, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
XXXXXXX, XXXXXXX, XXXXXXX, KC_MPLY, KC_VOLD, KC_VOLD, KC_MPLY, XXXXXXX, XXXXXXX, XXXXXXX,
|
XXXXXXX, XXXXXXX, XXXXXXX, KC_MPLY, KC_VOLD, KC_VOLD, KC_MPLY, XXXXXXX, XXXXXXX, XXXXXXX,
|
||||||
|
@ -42,6 +42,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||||
// https://github.com/qmk/qmk_firmware/blob/master/docs/mod_tap.md#changing-hold-function
|
// https://github.com/qmk/qmk_firmware/blob/master/docs/mod_tap.md#changing-hold-function
|
||||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
||||||
switch (keycode) {
|
switch (keycode) {
|
||||||
|
// "Tap and Hold"
|
||||||
case LT(0,KC_X): // "LT(0,KC_X)" is the keycode that must be mapped
|
case LT(0,KC_X): // "LT(0,KC_X)" is the keycode that must be mapped
|
||||||
if (!record->tap.count && record->event.pressed) {
|
if (!record->tap.count && record->event.pressed) {
|
||||||
tap_code16(LCTL(KC_X)); // Intercept hold function to send Ctrl-X
|
tap_code16(LCTL(KC_X)); // Intercept hold function to send Ctrl-X
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
|
|
||||||
## ToDo
|
## ToDo
|
||||||
|
|
||||||
- ,.- oder autoshift dafür: AUTO_SHIFT_ENABLE = yes
|
|
||||||
- combos
|
- combos
|
||||||
- kurze keycodes
|
- kurze keycodes
|
||||||
- led
|
- led
|
||||||
|
|
Loading…
Reference in a new issue