From 9551a0a38aca3d32e38a123ae2854a8c82b26195 Mon Sep 17 00:00:00 2001
From: Ryan <fauxpark@gmail.com>
Date: Wed, 14 Jun 2023 22:01:13 +1000
Subject: Move `RGBLIGHT_LED_MAP` to data driven (#21095)

---
 keyboards/unison/v04/config.h  | 1 -
 keyboards/unison/v04/info.json | 3 +++
 2 files changed, 3 insertions(+), 1 deletion(-)

(limited to 'keyboards/unison')

diff --git a/keyboards/unison/v04/config.h b/keyboards/unison/v04/config.h
index d80dc827f6..af4aaefea3 100644
--- a/keyboards/unison/v04/config.h
+++ b/keyboards/unison/v04/config.h
@@ -27,7 +27,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 /* RGB Lighting */
   #define RGBLED_NUM 7 // Layer Indicator(2) + Rotary Encoder(5)
-  #define RGBLIGHT_LED_MAP {1, 2, 0, 3, 4, 5, 6} // align LEDs from Left to Right
   #define RGBLIGHT_HUE_STEP 4
   #define RGBLIGHT_SAT_STEP 8
   #define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/unison/v04/info.json b/keyboards/unison/v04/info.json
index 481c07f7a9..b3c9a59392 100644
--- a/keyboards/unison/v04/info.json
+++ b/keyboards/unison/v04/info.json
@@ -12,6 +12,9 @@
         "cols": ["B3", "E6", "F1", "F5", "F7", "B2", "F0", "F4", "F6", "C7"],
         "rows": ["B3", "E6", "F1", "F5", "F7", "B2", "F0", "F4", "F6", "C7"]
     },
+    "rgblight": {
+        "led_map": [1, 2, 0, 3, 4, 5, 6]
+    },
     "ws2812": {
         "pin": "B7"
     },
-- 
cgit v1.2.3

[cgit] Unable to lock slot /tmp/cgit/34000000.lock: Permission denied (13)