diff --git a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c index c2d6d7d24c..be1a490932 100644 --- a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c +++ b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/keymap.c @@ -39,3 +39,16 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ) }; + +bool process_record_user(uint16_t keycode, keyrecord_t *record) { + switch (keycode) { + case KC_X: + if (record->tap.count && record->event.pressed) { + tap_code16(C(KC_X)); // Intercept tap function to send Ctrl-C + } else if (record->event.pressed) { + tap_code16(C(LCTL(KC_X))); // Intercept hold function to send Ctrl-V + } + return false; + } + return true; +} diff --git a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/readme.md b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/readme.md index 977cb2ca74..3e01e74773 100644 --- a/keyboards/bastardkb/skeletyl/keymaps/quotengrote/readme.md +++ b/keyboards/bastardkb/skeletyl/keymaps/quotengrote/readme.md @@ -12,7 +12,6 @@ ## ToDo -- daumentasten - tapdances - combos - kurze keycodes