qmk / qmk_firmware

Open-source keyboard firmware for Atmel AVR and Arm USB families
https://qmk.fm
GNU General Public License v2.0
18.23k stars 39.26k forks source link

KC_UNDO, KC_CUT, KC_COPY, KC_PASTE keycodes stop working. #1260

Closed ghost closed 7 years ago

ghost commented 7 years ago

I recently updated to HEAD a couple of days and rebuild/flash my keymap for my Ergodox EZ and these keys stop working.

fredizzimo commented 7 years ago

A little bit more information wold be helpful.

ghost commented 7 years ago
packman86 commented 7 years ago

I am having issues getting KC_COPY and KC_PASTE on Tap Dance to work. Maybe it is related to OPs issue?

TD_COPY_PASTE

qk_tap_dance_action_t tap_dance_actions[] = { // Other declarations would go here, separated by commas, if you have them

//Tap once for Esc, twice for Caps Lock [TD_ESC_CAPS] = ACTION_TAP_DANCE_DOUBLE(KC_ESC, KC_CAPS), // Tap Left FN once for Copy, twice for Paste [TD_COPY_PASTE] = ACTION_TAP_DANCE_DOUBLE(KC_COPY, KC_PASTE), };

In the keymap layer TD(TD_COPY_PASTE),

The Tap Dance for Esc and Capslock works just fine btw.

nikchi commented 7 years ago

@stratact @packman86 Hey, just want to put this out here. It may be that windows does not recognize KC_COPY and those sorts of keycodes as what they're labeled as here.

https://geekhack.org/index.php?topic=41989.msg2277717#msg2277717

Here's a workaround that was proposed in the thread above.

[COPA]  = ACTION_TAP_DANCE_DOUBLE(LCTL(KC_C), LCTL(KC_V))
skullydazed commented 7 years ago

I'm closing this to clean up our open issues, but if you still have questions @stratact please reopen this or open a new issue.