diff options
author | Ryan <[email protected]> | 2023-06-14 22:01:13 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-14 22:01:13 +1000 |
commit | 9551a0a38aca3d32e38a123ae2854a8c82b26195 (patch) | |
tree | b246fae82fe993ad7d7aabc51cc2fa408f8517b5 /keyboards/unison | |
parent | 6c4286152f924fc98a6f18e14987f1db6e55ae5e (diff) | |
download | qmk_firmware-9551a0a38aca3d32e38a123ae2854a8c82b26195.tar.gz qmk_firmware-9551a0a38aca3d32e38a123ae2854a8c82b26195.zip |
Move `RGBLIGHT_LED_MAP` to data driven (#21095)
Diffstat (limited to 'keyboards/unison')
-rw-r--r-- | keyboards/unison/v04/config.h | 1 | ||||
-rw-r--r-- | keyboards/unison/v04/info.json | 3 |
2 files changed, 3 insertions, 1 deletions
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" }, |