summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired
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/handwired
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/6macro/config.h3
-rw-r--r--keyboards/handwired/6macro/info.json3
-rw-r--r--keyboards/handwired/atreus50/config.h1
-rw-r--r--keyboards/handwired/atreus50/info.json3
-rw-r--r--keyboards/handwired/bento/rev1/config.h1
-rw-r--r--keyboards/handwired/bento/rev1/info.json1
-rw-r--r--keyboards/handwired/brain/config.h2
-rw-r--r--keyboards/handwired/brain/info.json1
-rw-r--r--keyboards/handwired/chiron/config.h2
-rw-r--r--keyboards/handwired/chiron/info.json3
-rw-r--r--keyboards/handwired/co60/rev7/config.h5
-rw-r--r--keyboards/handwired/co60/rev7/info.json3
-rw-r--r--keyboards/handwired/concertina/64key/config.h3
-rw-r--r--keyboards/handwired/concertina/64key/info.json3
-rw-r--r--keyboards/handwired/consolekeyboard/18key/config.h1
-rw-r--r--keyboards/handwired/consolekeyboard/18key/info.json1
-rw-r--r--keyboards/handwired/consolekeyboard/20key/config.h1
-rw-r--r--keyboards/handwired/consolekeyboard/20key/info.json1
-rw-r--r--keyboards/handwired/consolekeyboard/27key/config.h1
-rw-r--r--keyboards/handwired/consolekeyboard/27key/info.json1
-rw-r--r--keyboards/handwired/consolekeyboard/30key/config.h1
-rw-r--r--keyboards/handwired/consolekeyboard/30key/info.json1
-rw-r--r--keyboards/handwired/croxsplit44/config.h1
-rw-r--r--keyboards/handwired/croxsplit44/info.json1
-rw-r--r--keyboards/handwired/cyberstar/config.h1
-rw-r--r--keyboards/handwired/cyberstar/info.json3
-rw-r--r--keyboards/handwired/d48/config.h1
-rw-r--r--keyboards/handwired/d48/info.json3
-rw-r--r--keyboards/handwired/dactyl_manuform/4x5/config.h22
-rw-r--r--keyboards/handwired/dactyl_manuform/4x5/info.json3
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6/config.h22
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6/info.json3
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/config.h22
-rw-r--r--keyboards/handwired/dactyl_manuform/4x6_5/info.json3
-rw-r--r--keyboards/handwired/dactyl_manuform/5x6/config.h22
-rw-r--r--keyboards/handwired/dactyl_manuform/5x6/info.json3
-rw-r--r--keyboards/handwired/dactyl_manuform/5x7/config.h22
-rw-r--r--keyboards/handwired/dactyl_manuform/5x7/info.json3
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/promicro/config.h20
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6/promicro/info.json3
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6_4/config.h22
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6_4/info.json3
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6_kinesis/config.h22
-rw-r--r--keyboards/handwired/dactyl_manuform/6x6_kinesis/info.json3
-rw-r--r--keyboards/handwired/dactyl_manuform/dmote/62key/config.h1
-rw-r--r--keyboards/handwired/dactyl_manuform/dmote/62key/info.json1
-rw-r--r--keyboards/handwired/dactyl_promicro/config.h2
-rw-r--r--keyboards/handwired/dactyl_promicro/info.json3
-rw-r--r--keyboards/handwired/freoduo/config.h3
-rw-r--r--keyboards/handwired/freoduo/info.json1
-rw-r--r--keyboards/handwired/heisenberg/config.h1
-rw-r--r--keyboards/handwired/heisenberg/info.json3
-rw-r--r--keyboards/handwired/jopr/config.h1
-rw-r--r--keyboards/handwired/jopr/info.json3
-rw-r--r--keyboards/handwired/lovelive9/config.h2
-rw-r--r--keyboards/handwired/lovelive9/info.json3
-rw-r--r--keyboards/handwired/macroboard/config.h1
-rw-r--r--keyboards/handwired/macroboard/info.json1
-rw-r--r--keyboards/handwired/marauder/config.h1
-rw-r--r--keyboards/handwired/marauder/info.json1
-rw-r--r--keyboards/handwired/owlet60/config.h1
-rw-r--r--keyboards/handwired/owlet60/info.json1
-rw-r--r--keyboards/handwired/prime_exl_plus/config.h1
-rw-r--r--keyboards/handwired/prime_exl_plus/info.json3
-rw-r--r--keyboards/handwired/prkl30/feather/config.h1
-rw-r--r--keyboards/handwired/prkl30/feather/info.json3
-rw-r--r--keyboards/handwired/prkl30/promicro/config.h1
-rw-r--r--keyboards/handwired/prkl30/promicro/info.json3
-rw-r--r--keyboards/handwired/qc60/info.json3
-rw-r--r--keyboards/handwired/qc60/proto/config.h4
-rw-r--r--keyboards/handwired/selene/config.h2
-rw-r--r--keyboards/handwired/selene/info.json3
-rw-r--r--keyboards/handwired/splittest/config.h1
-rw-r--r--keyboards/handwired/splittest/info.json1
-rw-r--r--keyboards/handwired/steamvan/rev1/config.h3
-rw-r--r--keyboards/handwired/steamvan/rev1/info.json3
-rw-r--r--keyboards/handwired/swiftrax/bumblebee/config.h3
-rw-r--r--keyboards/handwired/swiftrax/bumblebee/info.json3
-rw-r--r--keyboards/handwired/swiftrax/glacier/config.h1
-rw-r--r--keyboards/handwired/swiftrax/glacier/info.json3
-rw-r--r--keyboards/handwired/swiftrax/walter/config.h1
-rw-r--r--keyboards/handwired/swiftrax/walter/info.json3
-rw-r--r--keyboards/handwired/symmetry60/config.h1
-rw-r--r--keyboards/handwired/symmetry60/info.json3
-rw-r--r--keyboards/handwired/tennie/config.h1
-rw-r--r--keyboards/handwired/tennie/info.json3
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/elite_c/config.h3
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/elite_c/info.json1
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/f303/config.h2
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/f303/info.json1
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/f411/config.h3
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/f411/info.json1
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/config.h2
-rw-r--r--keyboards/handwired/tractyl_manuform/5x6_right/teensy2pp/info.json1
-rw-r--r--keyboards/handwired/traveller/config.h1
-rw-r--r--keyboards/handwired/traveller/info.json3
-rw-r--r--keyboards/handwired/tritium_numpad/config.h4
-rw-r--r--keyboards/handwired/tritium_numpad/info.json3
-rw-r--r--keyboards/handwired/tsubasa/config.h1
-rw-r--r--keyboards/handwired/tsubasa/info.json1
-rw-r--r--keyboards/handwired/unk/rev1/config.h2
-rw-r--r--keyboards/handwired/unk/rev1/info.json3
-rw-r--r--keyboards/handwired/uthol/rev2/config.h1
-rw-r--r--keyboards/handwired/uthol/rev2/info.json3
-rw-r--r--keyboards/handwired/uthol/rev3/config.h1
-rw-r--r--keyboards/handwired/uthol/rev3/info.json3
106 files changed, 124 insertions, 250 deletions
diff --git a/keyboards/handwired/6macro/config.h b/keyboards/handwired/6macro/config.h
index 53033ad4f3..d8999dc37a 100644
--- a/keyboards/handwired/6macro/config.h
+++ b/keyboards/handwired/6macro/config.h
@@ -17,8 +17,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGBLED_NUM 10
-#define RGB_MATRIX_LED_COUNT RGBLED_NUM
+#define RGB_MATRIX_LED_COUNT 10
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/handwired/6macro/info.json b/keyboards/handwired/6macro/info.json
index 5bc9833fa5..6faf7f579f 100644
--- a/keyboards/handwired/6macro/info.json
+++ b/keyboards/handwired/6macro/info.json
@@ -8,6 +8,9 @@
"pid": "0x0037",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "led_count": 10
+ },
"ws2812": {
"pin": "D2"
},
diff --git a/keyboards/handwired/atreus50/config.h b/keyboards/handwired/atreus50/config.h
index 89532fd32b..98b6190067 100644
--- a/keyboards/handwired/atreus50/config.h
+++ b/keyboards/handwired/atreus50/config.h
@@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 12 // Number of LEDs
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/handwired/atreus50/info.json b/keyboards/handwired/atreus50/info.json
index cb1d6f6f0a..7bb335a607 100644
--- a/keyboards/handwired/atreus50/info.json
+++ b/keyboards/handwired/atreus50/info.json
@@ -8,6 +8,9 @@
"pid": "0x040D",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "led_count": 12
+ },
"ws2812": {
"pin": "C6"
},
diff --git a/keyboards/handwired/bento/rev1/config.h b/keyboards/handwired/bento/rev1/config.h
index 6a2a8fe30b..31efed8fc0 100644
--- a/keyboards/handwired/bento/rev1/config.h
+++ b/keyboards/handwired/bento/rev1/config.h
@@ -16,7 +16,6 @@
#pragma once
- #define RGBLED_NUM 4
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/handwired/bento/rev1/info.json b/keyboards/handwired/bento/rev1/info.json
index 5991fdbac1..26e73a8d88 100644
--- a/keyboards/handwired/bento/rev1/info.json
+++ b/keyboards/handwired/bento/rev1/info.json
@@ -9,6 +9,7 @@
"device_version": "1.0.0"
},
"rgblight": {
+ "led_count": 4,
"sleep": true
},
"ws2812": {
diff --git a/keyboards/handwired/brain/config.h b/keyboards/handwired/brain/config.h
index 1e0a226403..519da7e442 100644
--- a/keyboards/handwired/brain/config.h
+++ b/keyboards/handwired/brain/config.h
@@ -42,8 +42,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Enables This makes it easier for fast typists to use dual-function keys */
#define PERMISSIVE_HOLD
-#define RGBLED_NUM 28 // Number of LEDs
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/handwired/brain/info.json b/keyboards/handwired/brain/info.json
index b4bdbc8420..910a628ca6 100644
--- a/keyboards/handwired/brain/info.json
+++ b/keyboards/handwired/brain/info.json
@@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
+ "led_count": 28,
"split": true,
"max_brightness": 120
},
diff --git a/keyboards/handwired/chiron/config.h b/keyboards/handwired/chiron/config.h
index 677804cbe9..4d245e80e4 100644
--- a/keyboards/handwired/chiron/config.h
+++ b/keyboards/handwired/chiron/config.h
@@ -22,5 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define LOCKING_SUPPORT_ENABLE
#define LOCKING_RESYNC_ENABLE
-
-#define RGBLED_NUM 4
diff --git a/keyboards/handwired/chiron/info.json b/keyboards/handwired/chiron/info.json
index 2cb9a7a4d9..0bbdefe921 100644
--- a/keyboards/handwired/chiron/info.json
+++ b/keyboards/handwired/chiron/info.json
@@ -17,6 +17,9 @@
"pin": "B6",
"levels": 7
},
+ "rgblight": {
+ "led_count": 4
+ },
"ws2812": {
"pin": "D3"
},
diff --git a/keyboards/handwired/co60/rev7/config.h b/keyboards/handwired/co60/rev7/config.h
index 8cafa3c6f3..be60d6b522 100644
--- a/keyboards/handwired/co60/rev7/config.h
+++ b/keyboards/handwired/co60/rev7/config.h
@@ -36,8 +36,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-
-#define RGBLED_NUM 16
-#define RGB_MATRIX_LED_COUNT RGBLED_NUM
-
-#define RGB_MATRIX_KEYPRESSES
diff --git a/keyboards/handwired/co60/rev7/info.json b/keyboards/handwired/co60/rev7/info.json
index 1f1c2a2cf9..1475c808f3 100644
--- a/keyboards/handwired/co60/rev7/info.json
+++ b/keyboards/handwired/co60/rev7/info.json
@@ -12,6 +12,9 @@
"pin": "B8",
"breathing": true
},
+ "rgblight": {
+ "led_count": 16
+ },
"ws2812": {
"pin": "A7",
"driver": "spi"
diff --git a/keyboards/handwired/concertina/64key/config.h b/keyboards/handwired/concertina/64key/config.h
index b315e309ae..70aafa3bfd 100644
--- a/keyboards/handwired/concertina/64key/config.h
+++ b/keyboards/handwired/concertina/64key/config.h
@@ -16,7 +16,4 @@
#pragma once
-/* LEDs are not used in the standard 64key configuration. */
-#define RGBLED_NUM 0
-
#define PERMISSIVE_HOLD
diff --git a/keyboards/handwired/concertina/64key/info.json b/keyboards/handwired/concertina/64key/info.json
index 1bca5a6fa4..2786c33451 100644
--- a/