diff --git a/keyboards/keychron/q1/q1.c b/keyboards/keychron/q1/q1.c index 4cd9226a42..aa0258901b 100644 --- a/keyboards/keychron/q1/q1.c +++ b/keyboards/keychron/q1/q1.c @@ -30,9 +30,8 @@ bool dip_switch_update_kb(uint8_t index, bool active) { #endif -#if defined(RGB_MATRIX_ENABLE) && !defined(DISABLE_CAPS_LOCK_LIGHT) +#if defined(RGB_MATRIX_ENABLE) && defined(CAPS_LOCK_LED_INDEX) -#define CAPS_LOCK_LED_INDEX 45 #define CAPS_LOCK_BRIGHTNESS 0xFF #ifdef RGB_MATRIX_MAXIMUM_BRIGHTNESS #undef CAPS_LOCK_BRIGHTNESS diff --git a/keyboards/keychron/q1/q1_ansi_stm32l432_ec11/config.h b/keyboards/keychron/q1/q1_ansi_stm32l432_ec11/config.h index 034796c7f9..a879916787 100644 --- a/keyboards/keychron/q1/q1_ansi_stm32l432_ec11/config.h +++ b/keyboards/keychron/q1/q1_ansi_stm32l432_ec11/config.h @@ -59,3 +59,6 @@ /* Specifies the number of pulses the encoder registers between each detent */ #define ENCODER_RESOLUTION 4 + +/* Enable caps-lock LED */ +#define CAPS_LOCK_LED_INDEX 44