From 043eb0e25a59bb03d01a3838c99977c5f63dbe59 Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Fri, 15 Mar 2024 15:37:04 +0100 Subject: [PATCH] skeletyl: fix w + lgui --- keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c index 56b8b65d75..41af6305d3 100644 --- a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c +++ b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c @@ -4,7 +4,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { // Buchstaben [0] = LAYOUT_split_3x5_3( - LT(0,KC_Q), LGUI(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, 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 @@ -78,6 +78,12 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { return false; } return true; + case LT(0,KC_W): + if (!record->tap.count && record->event.pressed) { + tap_code16(KC_LGUI); + return false; + } + return true; } return true; }