Browse Source

Update rgb.c

Co-authored-by: Drashna Jaelre <drashna@live.com>
pull/23359/head
Sắn 2 months ago
committed by GitHub
parent
commit
62c3097f5d
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      keyboards/asmodus/plaquead/rgb/rgb.c

+ 4
- 1
keyboards/asmodus/plaquead/rgb/rgb.c View File

@ -89,7 +89,10 @@ led_config_t g_led_config = { {
#endif
bool rgb_matrix_indicators_user(void) {
bool rgb_matrix_indicators_kb(void) {
if (!rgb_matrix_indicators_user()) {
return false;
}
if (host_keyboard_led_state().caps_lock) {
uint8_t b = rgb_matrix_get_val();
if (b < CAPS_LOCK_VAL_STEP) {


Loading…
Cancel
Save