aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/rgbkb/sol/rev2/config.h28
1 files changed, 19 insertions, 9 deletions
diff --git a/keyboards/rgbkb/sol/rev2/config.h b/keyboards/rgbkb/sol/rev2/config.h
index 360ccbc76..4ffcecc6b 100644
--- a/keyboards/rgbkb/sol/rev2/config.h
+++ b/keyboards/rgbkb/sol/rev2/config.h
@@ -29,20 +29,30 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
29#define RGB_DI_PIN B7 29#define RGB_DI_PIN B7
30 30
31// Underglow / DIY Tent Glow are parallel to the top row leds, no separate define 31// Underglow / DIY Tent Glow are parallel to the top row leds, no separate define
32#ifdef FULLHAND_ENABLE 32// Full Hand case adds 24 LEDs, Star Fighter case adds 38 LEDs
33 #ifdef LED_MIRRORED 33// For mirrored LED control (each MCU controls half the LEDs), total LED counts are divided in half
34#ifdef LED_MIRRORED
35 #ifdef FULLHAND_ENABLE
36 #define FULLHAND_LEDS 24
34 #define RGBLED_NUM 74 37 #define RGBLED_NUM 74
35 #else 38 #elif SF_ENABLE
36 #define RGBLED_NUM 148 39 #define FULLHAND_LEDS 38
37 #endif
38#elif SF_ENABLE
39 #ifdef LED_MIRRORED
40 #define RGBLED_NUM 81 40 #define RGBLED_NUM 81
41 #else 41 #else
42 #define RGBLED_NUM 162 42 #define FULLHAND_LEDS 0
43 #define RGBLED_NUM 62
43 #endif 44 #endif
44#else 45#else
45 #define RGBLED_NUM 0 46 #ifdef FULLHAND_ENABLE
47 #define FULLHAND_LEDS 24
48 #define RGBLED_NUM 148
49 #elif SF_ENABLE
50 #define FULLHAND_LEDS 38
51 #define RGBLED_NUM 162
52 #else
53 #define FULLHAND_LEDS 0
54 #define RGBLED_NUM 124
55 #endif
46#endif 56#endif
47 57
48#define DRIVER_LED_TOTAL RGBLED_NUM 58#define DRIVER_LED_TOTAL RGBLED_NUM