diff options
Diffstat (limited to 'keyboards/rgbkb/sol/rev2/config.h')
-rw-r--r-- | keyboards/rgbkb/sol/rev2/config.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/keyboards/rgbkb/sol/rev2/config.h b/keyboards/rgbkb/sol/rev2/config.h index 6613b447b..360ccbc76 100644 --- a/keyboards/rgbkb/sol/rev2/config.h +++ b/keyboards/rgbkb/sol/rev2/config.h | |||
@@ -28,23 +28,23 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
28 | /* ws2812 RGB LED */ | 28 | /* ws2812 RGB LED */ |
29 | #define RGB_DI_PIN B7 | 29 | #define RGB_DI_PIN B7 |
30 | 30 | ||
31 | #define BACKLIGHT_LEDS 124 | 31 | // Underglow / DIY Tent Glow are parallel to the top row leds, no separate define |
32 | |||
33 | #ifdef FULLHAND_ENABLE | 32 | #ifdef FULLHAND_ENABLE |
34 | #define FULLHAND_LEDS 24 | 33 | #ifdef LED_MIRRORED |
34 | #define RGBLED_NUM 74 | ||
35 | #else | ||
36 | #define RGBLED_NUM 148 | ||
37 | #endif | ||
35 | #elif SF_ENABLE | 38 | #elif SF_ENABLE |
36 | #define FULLHAND_LEDS 38 | 39 | #ifdef LED_MIRRORED |
40 | #define RGBLED_NUM 81 | ||
41 | #else | ||
42 | #define RGBLED_NUM 162 | ||
43 | #endif | ||
37 | #else | 44 | #else |
38 | #define FULLHAND_LEDS 0 | 45 | #define RGBLED_NUM 0 |
39 | #endif | 46 | #endif |
40 | 47 | ||
41 | // Underglow / DIY Tent Glow are parallel to the top row leds, no separate define | ||
42 | |||
43 | #ifdef LED_MIRRORED | ||
44 | #define RGBLED_NUM ((BACKLIGHT_LEDS + FULLHAND_LEDS) / 2) | ||
45 | #else | ||
46 | #define RGBLED_NUM (BACKLIGHT_LEDS + FULLHAND_LEDS) | ||
47 | #endif | ||
48 | #define DRIVER_LED_TOTAL RGBLED_NUM | 48 | #define DRIVER_LED_TOTAL RGBLED_NUM |
49 | 49 | ||
50 | #define RGB_MATRIX_CENTER { 112, 37 } | 50 | #define RGB_MATRIX_CENTER { 112, 37 } |