[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
This commit is contained in:
Jonas Avellana 2019-09-30 11:50:27 -06:00 committed by Drashna Jaelre
parent f418efcaf5
commit cffe671a61
16 changed files with 115 additions and 94 deletions

View file

@ -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;