summaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-16 14:04:45 +1000
committerGitHub <noreply@github.com>2023-06-16 14:04:45 +1000
commit2367d8129c92474eb0da66ebc5ace893097cf574 (patch)
tree07dd36030e6b490cf2c33a43bb434d419a02d0c2 /keyboards/nullbitsco
parent579db6131e271a6b3a52c3e19b2fe3a15fd403c7 (diff)
Move `RGBLIGHT_SLEEP` to data driven (#21072)
Diffstat (limited to 'keyboards/nullbitsco')
-rw-r--r--keyboards/nullbitsco/nibble/config.h1
-rw-r--r--keyboards/nullbitsco/nibble/info.json3
-rw-r--r--keyboards/nullbitsco/snap/config.h1
-rw-r--r--keyboards/nullbitsco/snap/info.json1
4 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/nullbitsco/nibble/config.h b/keyboards/nullbitsco/nibble/config.h
index 5ef3783b87..2d12e6668e 100644
--- a/keyboards/nullbitsco/nibble/config.h
+++ b/keyboards/nullbitsco/nibble/config.h
@@ -50,4 +50,3 @@
50#define RGBLIGHT_EFFECT_RGB_TEST 50#define RGBLIGHT_EFFECT_RGB_TEST
51#define RGBLIGHT_EFFECT_ALTERNATING 51#define RGBLIGHT_EFFECT_ALTERNATING
52#define RGBLIGHT_EFFECT_TWINKLE 52#define RGBLIGHT_EFFECT_TWINKLE
53#define RGBLIGHT_SLEEP
diff --git a/keyboards/nullbitsco/nibble/info.json b/keyboards/nullbitsco/nibble/info.json
index 7f24d36813..075d0f9a5b 100644
--- a/keyboards/nullbitsco/nibble/info.json
+++ b/keyboards/nullbitsco/nibble/info.json
@@ -12,6 +12,9 @@
12 {"pin_a": "B5", "pin_b": "B4"} 12 {"pin_a": "B5", "pin_b": "B4"}
13 ] 13 ]
14 }, 14 },
15 "rgblight": {
16 "sleep": true
17 },
15 "ws2812": { 18 "ws2812": {
16 "pin": "E6" 19 "pin": "E6"
17 }, 20 },
diff --git a/keyboards/nullbitsco/snap/config.h b/keyboards/nullbitsco/snap/config.h
index 1fbe05d9d5..8fe9dc717e 100644
--- a/keyboards/nullbitsco/snap/config.h
+++ b/keyboards/nullbitsco/snap/config.h
@@ -59,7 +59,6 @@
59 59
60/* Optional SMT LED pins */ 60/* Optional SMT LED pins */
61#define RGBLED_NUM 10 61#define RGBLED_NUM 10
62#define RGBLIGHT_SLEEP
63#define RGBLIGHT_EFFECT_BREATHING 62#define RGBLIGHT_EFFECT_BREATHING
64#define RGBLIGHT_EFFECT_RAINBOW_MOOD 63#define RGBLIGHT_EFFECT_RAINBOW_MOOD
65#define RGBLIGHT_EFFECT_RAINBOW_SWIRL 64#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/nullbitsco/snap/info.json b/keyboards/nullbitsco/snap/info.json
index 6604b19fdb..ee04366ae6 100644
--- a/keyboards/nullbitsco/snap/info.json
+++ b/keyboards/nullbitsco/snap/info.json
@@ -8,6 +8,7 @@
8 "device_version": "0.0.1" 8 "device_version": "0.0.1"
9 }, 9 },
10 "rgblight": { 10 "rgblight": {
11 "sleep": true,
11 "led_map": [8, 9, 0, 1, 2, 6, 7, 3, 4, 5], 12 "led_map": [8, 9, 0, 1, 2, 6, 7, 3, 4, 5],
12 "split_count": [5, 5] 13 "split_count": [5, 5]
13 }, 14 },