summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/oryx
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/oryx')
-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;
}