moved CAPS_LOCK_LED_INDEX to per-board

This commit is contained in:
Vino Rodrigues 2022-01-21 19:46:01 +11:00
parent db1e468850
commit 33bfbef0dc
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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