diff options
| author | Jonas Avellana <14019120+ninjonas@users.noreply.github.com> | 2020-02-17 02:30:03 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-17 01:30:03 -0800 |
| commit | 79e6b7866988f3cfc1c5b6746e5f400b50704ce8 (patch) | |
| tree | 79b72d2c165198fbd1715ac42b625dae1ab1e1a4 /users/ninjonas/process_records.c | |
| parent | 5e79da9f321a7b50fc82201ad51b1f1bfa0e0114 (diff) | |
| download | qmk_firmware-79e6b7866988f3cfc1c5b6746e5f400b50704ce8.tar.gz qmk_firmware-79e6b7866988f3cfc1c5b6746e5f400b50704ce8.zip | |
[Keymap] ninjonas keymap updates (#8170)
* [keymap] ninjonas keymap updates
* [refactor(kyria)] updating keymap for numpad layer to be transparent rather than ignores
* [keymap(lily58)] added numpad layer
* [keymap(crkbd)] added numpad layer activated through tapdance
* [fix(8170)] fixing code review changes requested by noroadsleft
* [fix(8170)] updating comments and .md files to use 'Cmd' instead of and ⌘
Diffstat (limited to 'users/ninjonas/process_records.c')
| -rw-r--r-- | users/ninjonas/process_records.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/users/ninjonas/process_records.c b/users/ninjonas/process_records.c index 5c6d98ec8..b4a5e35d1 100644 --- a/users/ninjonas/process_records.c +++ b/users/ninjonas/process_records.c | |||
| @@ -23,7 +23,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 23 | } | 23 | } |
| 24 | break; | 24 | break; |
| 25 | 25 | ||
| 26 | // Sends + alt + shift to a keycode to activate shiftit. See: https://github.com/fikovnik/ShiftIt | 26 | // Sends Cmd + alt + shift to a keycode to activate shiftit. See: https://github.com/fikovnik/ShiftIt |
| 27 | case M_SHFT: | 27 | case M_SHFT: |
| 28 | if (record->event.pressed) { | 28 | if (record->event.pressed) { |
| 29 | register_code(KC_LGUI); | 29 | register_code(KC_LGUI); |
| @@ -98,9 +98,9 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) { | |||
| 98 | copy_paste_timer = timer_read(); | 98 | copy_paste_timer = timer_read(); |
| 99 | } else { | 99 | } else { |
| 100 | if (timer_elapsed(copy_paste_timer) > TAPPING_TERM) { | 100 | if (timer_elapsed(copy_paste_timer) > TAPPING_TERM) { |
| 101 | tap_code16(LGUI(KC_C)); // Hold + C | 101 | tap_code16(LGUI(KC_C)); // Hold Cmd + C |
| 102 | } else { | 102 | } else { |
| 103 | tap_code16(LGUI(KC_V)); // Tap + V | 103 | tap_code16(LGUI(KC_V)); // Tap Cmd + V |
| 104 | } | 104 | } |
| 105 | } | 105 | } |
| 106 | 106 | ||
