summaryrefslogtreecommitdiffstats
path: root/keyboards/sck
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/sck
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/sck')
-rw-r--r--keyboards/sck/gtm/config.h1
-rw-r--r--keyboards/sck/gtm/info.json3
-rw-r--r--keyboards/sck/osa/config.h1
-rw-r--r--keyboards/sck/osa/info.json1
4 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/sck/gtm/config.h b/keyboards/sck/gtm/config.h
index c95d84b30d..9ae2a01bd5 100644
--- a/keyboards/sck/gtm/config.h
+++ b/keyboards/sck/gtm/config.h
@@ -18,5 +18,4 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLED_NUM 4
#endif
diff --git a/keyboards/sck/gtm/info.json b/keyboards/sck/gtm/info.json
index 422fb0c0f1..3fc2bcc54d 100644
--- a/keyboards/sck/gtm/info.json
+++ b/keyboards/sck/gtm/info.json
@@ -8,6 +8,9 @@
"pid": "0x6090",
"device_version": "0.0.2"
},
+ "rgblight": {
+ "led_count": 4
+ },
"ws2812": {
"pin": "B0"
},
diff --git a/keyboards/sck/osa/config.h b/keyboards/sck/osa/config.h
index 5d40fc0e01..ac82fb4eb0 100644
--- a/keyboards/sck/osa/config.h
+++ b/keyboards/sck/osa/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
- #define RGBLED_NUM 9
#define RGBLIGHT_HUE_STEP 10
#define RGBLIGHT_SAT_STEP 17
#define RGBLIGHT_VAL_STEP 17
diff --git a/keyboards/sck/osa/info.json b/keyboards/sck/osa/info.json
index 5c9ca25a8f..2cbf7af652 100644
--- a/keyboards/sck/osa/info.json
+++ b/keyboards/sck/osa/info.json
@@ -19,6 +19,7 @@
"scroll_lock": "B6"
},
"rgblight": {
+ "led_count": 9,
"sleep": true
},
"ws2812": {