diff options
Diffstat (limited to 'keyboards/mxss/mxss_frontled.c')
-rw-r--r-- | keyboards/mxss/mxss_frontled.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/keyboards/mxss/mxss_frontled.c b/keyboards/mxss/mxss_frontled.c index 3f19747d28..3c4309f070 100644 --- a/keyboards/mxss/mxss_frontled.c +++ b/keyboards/mxss/mxss_frontled.c @@ -183,7 +183,14 @@ void fled_val_increase(void) // Update stored config fled_update_conf(); - rgblight_set(); + + // Update and set LED state + if (fled_mode == FLED_INDI) { + fled_layer_update(layer_state); + fled_lock_update(host_keyboard_led_state()); + } else { + rgblight_set(); + } } void fled_val_decrease(void) @@ -196,7 +203,14 @@ void fled_val_decrease(void) // Update stored config fled_update_conf(); - rgblight_set(); + + // Update and set LED state + if (fled_mode == FLED_INDI) { + fled_layer_update(layer_state); + fled_lock_update(host_keyboard_led_state()); + } else { + rgblight_set(); + } } void fled_layer_update(layer_state_t state) { |