summaryrefslogtreecommitdiff
path: root/keyboards/maple_computing
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-08-24 07:11:39 +1000
committerGitHub <noreply@github.com>2023-08-23 22:11:39 +0100
commit023d644bb69748d97feb49091e2c24f3fcd3da11 (patch)
tree1f8039d1fdf8408487eb5db0bee542e6f7d08af3 /keyboards/maple_computing
parent79491e35e1c2abd30620dec21d6073515065cc1a (diff)
Move RGBLight animations to data driven (#21635)
* Move RGBLight animations to data driven, 0-9 * Move RGBLight animations to data driven, A * Move RGBLight animations to data driven, B * Move RGBLight animations to data driven, C * Move RGBLight animations to data driven, D * Move RGBLight animations to data driven, E * Move RGBLight animations to data driven, F * Move RGBLight animations to data driven, G * Move RGBLight animations to data driven, H * Move RGBLight animations to data driven, handwired * Move RGBLight animations to data driven, I * Move RGBLight animations to data driven, J * Move RGBLight animations to data driven, K * Move RGBLight animations to data driven, L * Move RGBLight animations to data driven, M * Move RGBLight animations to data driven, N * Move RGBLight animations to data driven, O * Move RGBLight animations to data driven, P * Move RGBLight animations to data driven, Q * Move RGBLight animations to data driven, R * Move RGBLight animations to data driven, S * Move RGBLight animations to data driven, T * Move RGBLight animations to data driven, U * Move RGBLight animations to data driven, V * Move RGBLight animations to data driven, W * Move RGBLight animations to data driven, X * Move RGBLight animations to data driven, Y * Move RGBLight animations to data driven, Z * Fix incorrect placement * Fix build failures and mismatches
Diffstat (limited to 'keyboards/maple_computing')
-rw-r--r--keyboards/maple_computing/6ball/config.h29
-rw-r--r--keyboards/maple_computing/6ball/info.json14
-rw-r--r--keyboards/maple_computing/launchpad/rev1/config.h29
-rw-r--r--keyboards/maple_computing/launchpad/rev1/info.json14
-rw-r--r--keyboards/maple_computing/lets_split_eh/eh/config.h13
-rw-r--r--keyboards/maple_computing/lets_split_eh/eh/info.json14
-rw-r--r--keyboards/maple_computing/the_ruler/config.h11
-rw-r--r--keyboards/maple_computing/the_ruler/info.json14
8 files changed, 52 insertions, 86 deletions
diff --git a/keyboards/maple_computing/6ball/config.h b/keyboards/maple_computing/6ball/config.h
deleted file mode 100644
index 05d2733f8b..0000000000
--- a/keyboards/maple_computing/6ball/config.h
+++ /dev/null
@@ -1,29 +0,0 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#define RGBLIGHT_EFFECT_BREATHING
21#define RGBLIGHT_EFFECT_RAINBOW_MOOD
22#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
23#define RGBLIGHT_EFFECT_SNAKE
24#define RGBLIGHT_EFFECT_KNIGHT
25#define RGBLIGHT_EFFECT_CHRISTMAS
26#define RGBLIGHT_EFFECT_STATIC_GRADIENT
27#define RGBLIGHT_EFFECT_RGB_TEST
28#define RGBLIGHT_EFFECT_ALTERNATING
29#define RGBLIGHT_EFFECT_TWINKLE
diff --git a/keyboards/maple_computing/6ball/info.json b/keyboards/maple_computing/6ball/info.json
index 27f9ae1807..56531d6fa2 100644
--- a/keyboards/maple_computing/6ball/info.json
+++ b/keyboards/maple_computing/6ball/info.json
@@ -9,7 +9,19 @@
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "rgblight": { 11 "rgblight": {
12 "led_count": 6 12 "led_count": 6,
13 "animations": {
14 "breathing": true,
15 "rainbow_mood": true,
16 "rainbow_swirl": true,
17 "snake": true,
18 "knight": true,
19 "christmas": true,
20 "static_gradient": true,
21 "rgb_test": true,
22 "alternating": true,
23 "twinkle": true
24 }
13 }, 25 },
14 "ws2812": { 26 "ws2812": {
15 "pin": "F7" 27 "pin": "F7"
diff --git a/keyboards/maple_computing/launchpad/rev1/config.h b/keyboards/maple_computing/launchpad/rev1/config.h
deleted file mode 100644
index 05d2733f8b..0000000000
--- a/keyboards/maple_computing/launchpad/rev1/config.h
+++ /dev/null
@@ -1,29 +0,0 @@
1/*
2Copyright 2012 Jun Wako <wakojun@gmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#define RGBLIGHT_EFFECT_BREATHING
21#define RGBLIGHT_EFFECT_RAINBOW_MOOD
22#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
23#define RGBLIGHT_EFFECT_SNAKE
24#define RGBLIGHT_EFFECT_KNIGHT
25#define RGBLIGHT_EFFECT_CHRISTMAS
26#define RGBLIGHT_EFFECT_STATIC_GRADIENT
27#define RGBLIGHT_EFFECT_RGB_TEST
28#define RGBLIGHT_EFFECT_ALTERNATING
29#define RGBLIGHT_EFFECT_TWINKLE
diff --git a/keyboards/maple_computing/launchpad/rev1/info.json b/keyboards/maple_computing/launchpad/rev1/info.json
index 9e7ec96748..a846dd83f5 100644
--- a/keyboards/maple_computing/launchpad/rev1/info.json
+++ b/keyboards/maple_computing/launchpad/rev1/info.json
@@ -9,7 +9,19 @@
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "rgblight": { 11 "rgblight": {
12 "led_count": 10 12 "led_count": 10,
13 "animations": {
14 "breathing": true,
15 "rainbow_mood": true,
16 "rainbow_swirl": true,
17 "snake": true,
18 "knight": true,
19 "christmas": true,
20 "static_gradient": true,
21 "rgb_test": true,
22 "alternating": true,
23 "twinkle": true
24 }
13 }, 25 },
14 "ws2812": { 26 "ws2812": {
15 "pin": "F6" 27 "pin": "F6"
diff --git a/keyboards/maple_computing/lets_split_eh/eh/config.h b/keyboards/maple_computing/lets_split_eh/eh/config.h
index ad601d7d36..38cf73ae1e 100644
--- a/keyboards/maple_computing/lets_split_eh/eh/config.h
+++ b/keyboards/maple_computing/lets_split_eh/eh/config.h
@@ -18,19 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
18 18
19#pragma once 19#pragma once
20 20
21/* ws2812 RGB LED */
22#define RGBLIGHT_EFFECT_BREATHING
23#define RGBLIGHT_EFFECT_RAINBOW_MOOD
24#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
25#define RGBLIGHT_EFFECT_SNAKE
26#define RGBLIGHT_EFFECT_KNIGHT
27#define RGBLIGHT_EFFECT_CHRISTMAS
28#define RGBLIGHT_EFFECT_STATIC_GRADIENT
29#define RGBLIGHT_EFFECT_RGB_TEST
30#define RGBLIGHT_EFFECT_ALTERNATING
31#define RGBLIGHT_EFFECT_TWINKLE
32
33
34/* Split Defines */ 21/* Split Defines */
35#define SPLIT_HAND_PIN D3 22#define SPLIT_HAND_PIN D3
36 23
diff --git a/keyboards/maple_computing/lets_split_eh/eh/info.json b/keyboards/maple_computing/lets_split_eh/eh/info.json
index 5df74d73b6..2b77267da8 100644
--- a/keyboards/maple_computing/lets_split_eh/eh/info.json
+++ b/keyboards/maple_computing/lets_split_eh/eh/info.json
@@ -18,7 +18,19 @@
18 }, 18 },
19 "rgblight": { 19 "rgblight": {
20 "led_count": 12, 20 "led_count": 12,
21 "split_count": [6, 6] 21 "split_count": [6, 6],
22 "animations": {
23 "breathing": true,
24 "rainbow_mood": true,
25 "rainbow_swirl": true,
26 "snake": true,
27 "knight": true,
28 "christmas": true,
29 "static_gradient": true,
30 "rgb_test": true,
31 "alternating": true,
32 "twinkle": true
33 }
22 }, 34 },
23 "ws2812": { 35 "ws2812": {
24 "pin": "B2" 36 "pin": "B2"
diff --git a/keyboards/maple_computing/the_ruler/config.h b/keyboards/maple_computing/the_ruler/config.h
index a2119b413f..b9449c4714 100644
--- a/keyboards/maple_computing/the_ruler/config.h
+++ b/keyboards/maple_computing/the_ruler/config.h
@@ -37,14 +37,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
37//#define NO_ACTION_LAYER 37//#define NO_ACTION_LAYER
38//#define NO_ACTION_TAPPING 38//#define NO_ACTION_TAPPING
39//#define NO_ACTION_ONESHOT 39//#define NO_ACTION_ONESHOT
40
41#define RGBLIGHT_EFFECT_BREATHING
42#define RGBLIGHT_EFFECT_RAINBOW_MOOD
43#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
44#define RGBLIGHT_EFFECT_SNAKE
45#define RGBLIGHT_EFFECT_KNIGHT
46#define RGBLIGHT_EFFECT_CHRISTMAS
47#define RGBLIGHT_EFFECT_STATIC_GRADIENT
48#define RGBLIGHT_EFFECT_RGB_TEST
49#define RGBLIGHT_EFFECT_ALTERNATING
50#define RGBLIGHT_EFFECT_TWINKLE
diff --git a/keyboards/maple_computing/the_ruler/info.json b/keyboards/maple_computing/the_ruler/info.json
index 86478b7694..9ba1355fdd 100644
--- a/keyboards/maple_computing/the_ruler/info.json
+++ b/keyboards/maple_computing/the_ruler/info.json
@@ -10,7 +10,19 @@
10 }, 10 },
11 "rgblight": { 11 "rgblight": {
12 "hue_steps": 10, 12 "hue_steps": 10,
13 "led_count": 1 13 "led_count": 1,
14 "animations": {
15 "breathing": true,
16 "rainbow_mood": true,
17 "rainbow_swirl": true,
18 "snake": true,
19 "knight": true,
20 "christmas": true,
21 "static_gradient": true,
22 "rgb_test": true,
23 "alternating": true,
24 "twinkle": true
25 }
14 }, 26 },
15 "ws2812": { 27 "ws2812": {
16 "pin": "E6" 28 "pin": "E6"