Fixup keychron/q5 (#19119)
This commit is contained in:
parent
543a863766
commit
6c40a46057
9 changed files with 11 additions and 9 deletions
|
@ -69,7 +69,8 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
|||
return true;
|
||||
}
|
||||
|
||||
__attribute__((weak)) void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
|
||||
bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
|
||||
if (!rgb_matrix_indicators_advanced_user(led_min, led_max)) { return false; }
|
||||
// RGB_MATRIX_INDICATOR_SET_COLOR(index, red, green, blue);
|
||||
# if defined(CAPS_LOCK_LED_INDEX)
|
||||
if (host_keyboard_led_state().caps_lock) {
|
||||
|
@ -89,6 +90,7 @@ __attribute__((weak)) void rgb_matrix_indicators_advanced_user(uint8_t led_min,
|
|||
}
|
||||
}
|
||||
# endif // NUM_LOCK_LED_INDEX
|
||||
return true;
|
||||
}
|
||||
|
||||
#endif // RGB_MATRIX_ENABLE...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue