summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/oryx/keymap.c
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2020-09-30 04:32:30 -0700
committerDrashna Jael're <drashna@live.com>2020-09-30 04:32:30 -0700
commit454684a8bbf41860dc9331bfc671ab80d53bf51f (patch)
tree89b9e9a98ed6c0cd7d68ec3027b16255efd82b82 /keyboards/planck/keymaps/oryx/keymap.c
parent396b86b92d8010ac929f30768cc98643ea019986 (diff)
[Keyboard] Update to ZSA Boards (qmk#10119)
Diffstat (limited to 'keyboards/planck/keymaps/oryx/keymap.c')
-rw-r--r--keyboards/planck/keymaps/oryx/keymap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/oryx/keymap.c b/keyboards/planck/keymaps/oryx/keymap.c
index 83b7b42767..55a9168dca 100644
--- a/keyboards/planck/keymaps/oryx/keymap.c
+++ b/keyboards/planck/keymaps/oryx/keymap.c
@@ -53,11 +53,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
eeconfig_init();
}
return false;
+#ifdef RGBLIGHT_ENABLE
case RGB_SLD:
if (record->event.pressed) {
rgblight_mode(1);
}
return false;
+#endif
}
return true;
}