Browse Source

[Keyboard] Update BM68RGB Caps Lock Backlight status indication (#13497)

Co-authored-by: Drashna Jael're <drashna@live.com>
pull/15410/head
SergioPoverony 2 years ago
committed by GitHub
parent
commit
c54c0fdc2c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      keyboards/kprepublic/bm68hsrgb/bm68hsrgb.c

+ 8
- 0
keyboards/kprepublic/bm68hsrgb/bm68hsrgb.c View File

@ -41,4 +41,12 @@ led_config_t g_led_config = { {
1, 1, 1, 4, 1, 1, 1, 1, 1, 1, // Ctrl, GUI, Alt, Space, RAlt, FN, Ctrl, Left, Down, Right
2, 2, 2, 2, 2, 2 // UNDERGLOW
} };
//CAPS backlight
__attribute__ ((weak))
void rgb_matrix_indicators_user(void) {
if (host_keyboard_led_state().caps_lock) {
rgb_matrix_set_color(30, 0xFF, 0xFF, 0xFF);
}
}
#endif

Loading…
Cancel
Save