summaryrefslogtreecommitdiff
path: root/users/drashna/rgb/rgb_matrix_stuff.c
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2022-05-30 22:02:55 -0700
committerGitHub <noreply@github.com>2022-05-30 22:02:55 -0700
commitcda343acbe45826225edac75eaa63216bf76d874 (patch)
tree398a14c907baa8e6521fc9d001a4619289e1d7a3 /users/drashna/rgb/rgb_matrix_stuff.c
parentb554e4b612d24109ce714554a306043a01382cbd (diff)
[Keymap] Drashna update for post Q2 merge (#17241)
Diffstat (limited to 'users/drashna/rgb/rgb_matrix_stuff.c')
-rw-r--r--users/drashna/rgb/rgb_matrix_stuff.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/users/drashna/rgb/rgb_matrix_stuff.c b/users/drashna/rgb/rgb_matrix_stuff.c
index e6d631466d..36a7502733 100644
--- a/users/drashna/rgb/rgb_matrix_stuff.c
+++ b/users/drashna/rgb/rgb_matrix_stuff.c
@@ -57,6 +57,9 @@ void keyboard_post_init_rgb_matrix(void) {
rgb_matrix_mode_noeeprom(RGB_MATRIX_REST_MODE);
}
#endif
+ if (userspace_config.rgb_layer_change) {
+ rgb_matrix_set_flags(LED_FLAG_UNDERGLOW | LED_FLAG_KEYLIGHT | LED_FLAG_INDICATOR);
+ }
}
bool process_record_user_rgb_matrix(uint16_t keycode, keyrecord_t *record) {