mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 10:44:59 +06:00
moved CAPS_LOCK_LED_INDEX to per-board
This commit is contained in:
parent
db1e468850
commit
33bfbef0dc
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user