summaryrefslogtreecommitdiff
path: root/keyboards/wilba_tech/rama_works_m10_c
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-11-08 00:58:59 +1100
committerGitHub <noreply@github.com>2023-11-08 00:58:59 +1100
commitbe66e5f2b4fb67b4d0adc18e27f5a91bdf50a429 (patch)
tree1a3126829a6284d3ba69ac68d5effa109bcc6424 /keyboards/wilba_tech/rama_works_m10_c
parent1b303e04533959ab65d1e86423c44d37e1752841 (diff)
WT RGB cleanups (#22379)
Diffstat (limited to 'keyboards/wilba_tech/rama_works_m10_c')
-rw-r--r--keyboards/wilba_tech/rama_works_m10_c/rama_works_m10_c.c23
1 files changed, 21 insertions, 2 deletions
diff --git a/keyboards/wilba_tech/rama_works_m10_c/rama_works_m10_c.c b/keyboards/wilba_tech/rama_works_m10_c/rama_works_m10_c.c
index 17fa921db6..8f23c9130b 100644
--- a/keyboards/wilba_tech/rama_works_m10_c/rama_works_m10_c.c
+++ b/keyboards/wilba_tech/rama_works_m10_c/rama_works_m10_c.c
@@ -14,5 +14,24 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef RGB_BACKLIGHT_M10_C
-#error RGB_BACKLIGHT_M10_C not defined
-#endif \ No newline at end of file
+# error RGB_BACKLIGHT_M10_C not defined
+#else
+# include "drivers/led/issi/is31fl3731.h"
+#endif
+
+#if defined(RGB_MATRIX_ENABLE) || defined(RGB_BACKLIGHT_M10_C)
+const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT] = {
+ {0, C1_9, C3_10, C4_10}, // LB1
+ {0, C1_10, C2_10, C4_11}, // LB2
+ {0, C1_11, C2_11, C3_11}, // LB3
+ {0, C1_12, C2_12, C3_12}, // LB4
+ {0, C1_13, C2_13, C3_13}, // LB5
+ {0, C1_14, C2_14, C3_14}, // LB6
+ {0, C9_11, C8_11, C7_11}, // LB11
+ {0, C9_12, C8_12, C7_12}, // LB12
+ {0, C9_13, C8_13, C7_13}, // LB13
+ {0, C9_14, C8_14, C7_14}, // LB14
+ {0, C9_15, C8_15, C6_14}, // LB15
+ {0, C9_16, C7_15, C6_15} // LB16
+};
+#endif