summaryrefslogtreecommitdiff
path: root/keyboards/maple_computing
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/maple_computing
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/maple_computing')
-rw-r--r--keyboards/maple_computing/6ball/config.h1
-rw-r--r--keyboards/maple_computing/6ball/info.json3
-rw-r--r--keyboards/maple_computing/launchpad/rev1/config.h1
-rw-r--r--keyboards/maple_computing/launchpad/rev1/info.json3
-rw-r--r--keyboards/maple_computing/lets_split_eh/eh/config.h1
-rw-r--r--keyboards/maple_computing/lets_split_eh/eh/info.json1
-rw-r--r--keyboards/maple_computing/the_ruler/config.h1
-rw-r--r--keyboards/maple_computing/the_ruler/info.json3
8 files changed, 10 insertions, 4 deletions
diff --git a/keyboards/maple_computing/6ball/config.h b/keyboards/maple_computing/6ball/config.h
index 59679e2753..71417380a9 100644
--- a/keyboards/maple_computing/6ball/config.h
+++ b/keyboards/maple_computing/6ball/config.h
@@ -27,6 +27,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27#define RGBLIGHT_EFFECT_RGB_TEST 27#define RGBLIGHT_EFFECT_RGB_TEST
28#define RGBLIGHT_EFFECT_ALTERNATING 28#define RGBLIGHT_EFFECT_ALTERNATING
29#define RGBLIGHT_EFFECT_TWINKLE 29#define RGBLIGHT_EFFECT_TWINKLE
30#define RGBLED_NUM 6 // Number of LEDs
31 30
32#define TAPPING_TERM 200 31#define TAPPING_TERM 200
diff --git a/keyboards/maple_computing/6ball/info.json b/keyboards/maple_computing/6ball/info.json
index b799baa28c..27f9ae1807 100644
--- a/keyboards/maple_computing/6ball/info.json
+++ b/keyboards/maple_computing/6ball/info.json
@@ -8,6 +8,9 @@
8 "pid": "0x0007", 8 "pid": "0x0007",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "rgblight": {
12 "led_count": 6
13 },
11 "ws2812": { 14 "ws2812": {
12 "pin": "F7" 15 "pin": "F7"
13 }, 16 },
diff --git a/keyboards/maple_computing/launchpad/rev1/config.h b/keyboards/maple_computing/launchpad/rev1/config.h
index 7cf73259b4..05d2733f8b 100644
--- a/keyboards/maple_computing/launchpad/rev1/config.h
+++ b/keyboards/maple_computing/launchpad/rev1/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20#define RGBLED_NUM 10
21#define RGBLIGHT_EFFECT_BREATHING 20#define RGBLIGHT_EFFECT_BREATHING
22#define RGBLIGHT_EFFECT_RAINBOW_MOOD 21#define RGBLIGHT_EFFECT_RAINBOW_MOOD
23#define RGBLIGHT_EFFECT_RAINBOW_SWIRL 22#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/maple_computing/launchpad/rev1/info.json b/keyboards/maple_computing/launchpad/rev1/info.json
index 81c23850ec..9e7ec96748 100644
--- a/keyboards/maple_computing/launchpad/rev1/info.json
+++ b/keyboards/maple_computing/launchpad/rev1/info.json
@@ -8,6 +8,9 @@
8 "pid": "0x6007", 8 "pid": "0x6007",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "rgblight": {
12 "led_count": 10
13 },
11 "ws2812": { 14 "ws2812": {
12 "pin": "F6" 15 "pin": "F6"
13 }, 16 },
diff --git a/keyboards/maple_computing/lets_split_eh/eh/config.h b/keyboards/maple_computing/lets_split_eh/eh/config.h
index 27de26f6b8..ad601d7d36 100644
--- a/keyboards/maple_computing/lets_split_eh/eh/config.h
+++ b/keyboards/maple_computing/lets_split_eh/eh/config.h
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
19#pragma once 19#pragma once
20 20
21/* ws2812 RGB LED */ 21/* ws2812 RGB LED */
22#define RGBLED_NUM 12 // Number of LEDs (each hand)
23#define RGBLIGHT_EFFECT_BREATHING 22#define RGBLIGHT_EFFECT_BREATHING
24#define RGBLIGHT_EFFECT_RAINBOW_MOOD 23#define RGBLIGHT_EFFECT_RAINBOW_MOOD
25#define RGBLIGHT_EFFECT_RAINBOW_SWIRL 24#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/maple_computing/lets_split_eh/eh/info.json b/keyboards/maple_computing/lets_split_eh/eh/info.json
index f14888862f..5df74d73b6 100644
--- a/keyboards/maple_computing/lets_split_eh/eh/info.json
+++ b/keyboards/maple_computing/lets_split_eh/eh/info.json
@@ -17,6 +17,7 @@
17 "pin": "B7" 17 "pin": "B7"
18 }, 18 },
19 "rgblight": { 19 "rgblight": {
20 "led_count": 12,
20 "split_count": [6, 6] 21 "split_count": [6, 6]
21 }, 22 },
22 "ws2812": { 23 "ws2812": {
diff --git a/keyboards/maple_computing/the_ruler/config.h b/keyboards/maple_computing/the_ruler/config.h
index e3b34d1bf0..3182936d76 100644
--- a/keyboards/maple_computing/the_ruler/config.h
+++ b/keyboards/maple_computing/the_ruler/config.h
@@ -38,7 +38,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
38//#define NO_ACTION_TAPPING 38//#define NO_ACTION_TAPPING
39//#define NO_ACTION_ONESHOT 39//#define NO_ACTION_ONESHOT
40 40
41#define RGBLED_NUM 1 // Number of LEDs
42#define RGBLIGHT_EFFECT_BREATHING 41#define RGBLIGHT_EFFECT_BREATHING
43#define RGBLIGHT_EFFECT_RAINBOW_MOOD 42#define RGBLIGHT_EFFECT_RAINBOW_MOOD
44#define RGBLIGHT_EFFECT_RAINBOW_SWIRL 43#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/maple_computing/the_ruler/info.json b/keyboards/maple_computing/the_ruler/info.json
index 336d48af4c..6848fe66b0 100644
--- a/keyboards/maple_computing/the_ruler/info.json
+++ b/keyboards/maple_computing/the_ruler/info.json
@@ -8,6 +8,9 @@
8 "pid": "0x6007", 8 "pid": "0x6007",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "rgblight": {
12 "led_count": 1
13 },
11 "ws2812": { 14 "ws2812": {
12 "pin": "E6" 15 "pin": "E6"
13 }, 16 },