summaryrefslogtreecommitdiff
path: root/keyboards/neson_design
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-18 14:39:07 +1000
committerGitHub <noreply@github.com>2023-06-18 14:39:07 +1000
commitb1783db4eacacaf8181cfbce13146db1941486ba (patch)
treed464d835a882fa7b2c205eb0b2d73f7ddf0b7145 /keyboards/neson_design
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/neson_design')
-rw-r--r--keyboards/neson_design/700e/config.h1
-rw-r--r--keyboards/neson_design/700e/info.json3
-rw-r--r--keyboards/neson_design/n6/config.h1
-rw-r--r--keyboards/neson_design/n6/info.json1
4 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/neson_design/700e/config.h b/keyboards/neson_design/700e/config.h
index e35f0c4d0a..7d33c31fbc 100644
--- a/keyboards/neson_design/700e/config.h
+++ b/keyboards/neson_design/700e/config.h
@@ -38,7 +38,6 @@
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL+DRIVER_2_LED_TOTAL)
//rgb light setting
-#define RGBLED_NUM 68
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/neson_design/700e/info.json b/keyboards/neson_design/700e/info.json
index 3f339ad554..a6db575ba2 100644
--- a/keyboards/neson_design/700e/info.json
+++ b/keyboards/neson_design/700e/info.json
@@ -16,6 +16,9 @@
"indicators": {
"caps_lock": "F5"
},
+ "rgblight": {
+ "led_count": 68
+ },
"ws2812": {
"pin": "D5"
},
diff --git a/keyboards/neson_design/n6/config.h b/keyboards/neson_design/n6/config.h
index 9a4c8240c0..30d0e2567b 100644
--- a/keyboards/neson_design/n6/config.h
+++ b/keyboards/neson_design/n6/config.h
@@ -38,7 +38,6 @@
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL+DRIVER_2_LED_TOTAL)
//rgb light setting
-#define RGBLED_NUM 65
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/neson_design/n6/info.json b/keyboards/neson_design/n6/info.json
index 770748fa29..6d6d434754 100644
--- a/keyboards/neson_design/n6/info.json
+++ b/keyboards/neson_design/n6/info.json
@@ -20,6 +20,7 @@
"pin": "B3"
},
"rgblight": {
+ "led_count": 65,
"max_brightness": 192
},
"processor": "atmega32u4",