diff options
author | Drashna Jaelre <[email protected]> | 2020-01-06 01:49:49 -0800 |
---|---|---|
committer | James Young <[email protected]> | 2020-01-06 01:49:48 -0800 |
commit | 00d3061e02fa5fedaa6e6cebd310d4e716ffffee (patch) | |
tree | f799486433da3995d7db6c44f4a32d2a86be4ef8 /users/drashna/process_records.c | |
parent | b3b115bcc4466b0320a6725c8e994a9ef4186328 (diff) | |
download | qmk_firmware-00d3061e02fa5fedaa6e6cebd310d4e716ffffee.tar.gz qmk_firmware-00d3061e02fa5fedaa6e6cebd310d4e716ffffee.zip |
[Keymap] Cleanup of Drashna code (#7800)
* ifdef rgb stuff like a madman for RGB Coexistance
* Re-enable RGB Light on Planck
* fix RGB Coexistance issue
* Tweak feature settings for Ergodox EZ Glow
* Their powers combine, and I am Captain RGB
This one is for noroadsleft and yan.
* Limit brightness when both RGB features are enabled
* Change shutdown method
* Add RGB Coexistience stuff to keymap
* disable RGBLIGHT_SLEEP until a solution can be found
* Disable Unicode on the kyria
* Fix up Iris rev defines
* Fix up community layouts to compile properly
* Cleanup rgb stuff
* Merge ergodox keymaps
* Update CCCV macro to use tap_code16
* Enable Solenoid on C39
Because josh couldn't
* Enable RGB Light, not Matrix on rev6 keymap
* Only enable LTO on non-ARM boards
* Clean up Bootmagic OLED display
* Enable RGBLIGHT_SPLIT on kyria
Not that it does anything
* Add hotkey for discord
Diffstat (limited to 'users/drashna/process_records.c')
-rw-r--r-- | users/drashna/process_records.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/users/drashna/process_records.c b/users/drashna/process_records.c index 2f79ad11cc..af3ee9cf05 100644 --- a/users/drashna/process_records.c +++ b/users/drashna/process_records.c @@ -80,13 +80,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { copy_paste_timer = timer_read(); } else { if (timer_elapsed(copy_paste_timer) > TAPPING_TERM) { // Hold, copy - register_code(KC_LCTL); - tap_code(KC_C); - unregister_code(KC_LCTL); + tap_code16(LCTL(KC_C)); } else { // Tap, paste - register_code(KC_LCTL); - tap_code(KC_V); - unregister_code(KC_LCTL); + tap_code16(LCTL(KC_V)); } } break; |