summaryrefslogtreecommitdiffstats
path: root/users/ninjonas/process_records.c
diff options
context:
space:
mode:
authorJonas Avellana <14019120+ninjonas@users.noreply.github.com>2019-09-30 11:50:27 -0600
committerDrashna Jaelre <drashna@live.com>2019-09-30 10:50:27 -0700
commitcffe671a61e8187b39a508556c7a5b5f04835d24 (patch)
tree071199e57f8c1db1c18af28aa19dda78595a1c67 /users/ninjonas/process_records.c
parentf418efcaf5d681e87bd23b4d28621b87ff61fcb9 (diff)
[Keymap] Updating crkbd RGB keymap implementation & ninjonas userspace updates (#6834)
* [keymap] Updating crkbd RGB implementation & ninjonas userspace updates * [chore] adding process_record_oled method to process_records.h
Diffstat (limited to 'users/ninjonas/process_records.c')
-rw-r--r--users/ninjonas/process_records.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/users/ninjonas/process_records.c b/users/ninjonas/process_records.c
index e1960aaa3e..6ec5be5978 100644
--- a/users/ninjonas/process_records.c
+++ b/users/ninjonas/process_records.c
@@ -12,18 +12,16 @@ bool process_record_oled(uint16_t keycode, keyrecord_t *record) { return true; }
#endif
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- if (record->event.pressed) {
- #ifdef OLED_DRIVER_ENABLE
- process_record_oled(keycode, record);
- #endif
- }
+ #ifdef OLED_DRIVER_ENABLE
+ process_record_oled(keycode, record);
+ #endif
switch (keycode) {
// Sends pyenv to activate 'jira' environment
case M_PYNV:
if (record->event.pressed) {
- SEND_STRING("pyenv activate jira" SS_TAP(X_ENTER));
+ SEND_STRING("pyenv activate jira\n");
}
break;