summaryrefslogtreecommitdiff
path: root/keyboards/handwired/freoduo
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-14 22:01:13 +1000
committerGitHub <noreply@github.com>2023-06-14 22:01:13 +1000
commit9551a0a38aca3d32e38a123ae2854a8c82b26195 (patch)
treeb246fae82fe993ad7d7aabc51cc2fa408f8517b5 /keyboards/handwired/freoduo
parent6c4286152f924fc98a6f18e14987f1db6e55ae5e (diff)
Move `RGBLIGHT_LED_MAP` to data driven (#21095)
Diffstat (limited to 'keyboards/handwired/freoduo')
-rw-r--r--keyboards/handwired/freoduo/config.h2
-rw-r--r--keyboards/handwired/freoduo/info.json1
2 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/handwired/freoduo/config.h b/keyboards/handwired/freoduo/config.h
index e4045a3790..22da5b95eb 100644
--- a/keyboards/handwired/freoduo/config.h
+++ b/keyboards/handwired/freoduo/config.h
@@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if !defined(RGBLED_NUM)
# define RGBLED_NUM 30
# define RGBLIGHT_SPLIT
-// Switch RGB sides with LED MAP.
-# define RGBLIGHT_LED_MAP { 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30}
# define RGBLIGHT_LAYERS
#endif
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/handwired/freoduo/info.json b/keyboards/handwired/freoduo/info.json
index a4d6144cf9..347b832a40 100644
--- a/keyboards/handwired/freoduo/info.json
+++ b/keyboards/handwired/freoduo/info.json
@@ -17,6 +17,7 @@
"soft_serial_pin": "D0"
},
"rgblight": {
+ "led_map": [15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30],
"split_count": [16, 14]
},
"ws2812": {