summaryrefslogtreecommitdiffstats
path: root/keyboards/momokai/tap_duo/tap_duo.c
diff options
context:
space:
mode:
authorpeepeetee <43021794+peepeetee@users.noreply.github.com>2023-03-07 13:07:47 -0800
committerGitHub <noreply@github.com>2023-03-07 14:07:47 -0700
commit3d0f03f21e363f6485ee2fc1e10f9f61ca8709c2 (patch)
treefeb0bf0eac5d90c7734d085dd79478e87ed7ff34 /keyboards/momokai/tap_duo/tap_duo.c
parent25cb1c6a5ad604b9565f86d2aa7eff38f0d60521 (diff)
implement rgb matrix for momokai keyboards (#19904)
Co-authored-by: jack <0x6a73@protonmail.com>
Diffstat (limited to 'keyboards/momokai/tap_duo/tap_duo.c')
-rw-r--r--keyboards/momokai/tap_duo/tap_duo.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/keyboards/momokai/tap_duo/tap_duo.c b/keyboards/momokai/tap_duo/tap_duo.c
index 2216c37f43..bd53810838 100644
--- a/keyboards/momokai/tap_duo/tap_duo.c
+++ b/keyboards/momokai/tap_duo/tap_duo.c
@@ -16,16 +16,16 @@
#include "tap_duo.h"
-// #ifdef RGB_MATRIX_ENABLE
-// led_config_t g_led_config = { {
-// // Key Matrix to LED Index
-// { 0, 1, 2, NO_LED, NO_LED, NO_LED}
-// }, {
-// // LED Index to Physical Position
-// { 56, 0}, { 112, 0}, { 168, 0}, { 0, 64}, { 224, 64}
-// }, {
-// // LED Index to Flag
-// 4,4,4,2,2
-// } };
+#ifdef RGB_MATRIX_ENABLE
+led_config_t g_led_config = { {
+ // Key Matrix to LED Index
+ { 0, 1, NO_LED, NO_LED, NO_LED}
+}, {
+ // LED Index to Physical Position
+ { 112, 0}, { 168, 0}, { 0, 64}, { 224, 64}
+}, {
+ // LED Index to Flag
+ 4,4,2,2
+} };
-// #endif
+#endif