diff options
author | Ryan <fauxpark@gmail.com> | 2023-06-18 14:39:07 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-18 14:39:07 +1000 |
commit | b1783db4eacacaf8181cfbce13146db1941486ba (patch) | |
tree | d464d835a882fa7b2c205eb0b2d73f7ddf0b7145 /keyboards/zfrontier | |
parent | 7178645be79510eb623098bccbf1724ff9970edc (diff) |
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/zfrontier')
-rw-r--r-- | keyboards/zfrontier/big_switch/config.h | 1 | ||||
-rw-r--r-- | keyboards/zfrontier/big_switch/info.json | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/keyboards/zfrontier/big_switch/config.h b/keyboards/zfrontier/big_switch/config.h index eecce57fe6..7e6e359cc9 100644 --- a/keyboards/zfrontier/big_switch/config.h +++ b/keyboards/zfrontier/big_switch/config.h @@ -18,7 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once /* RGB light config */ -#define RGBLED_NUM 4 #define RGBLIGHT_VAL_STEP 17 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD diff --git a/keyboards/zfrontier/big_switch/info.json b/keyboards/zfrontier/big_switch/info.json index 02c40f6125..ac957c413c 100644 --- a/keyboards/zfrontier/big_switch/info.json +++ b/keyboards/zfrontier/big_switch/info.json @@ -12,6 +12,9 @@ "cols": ["F1"], "rows": ["F0"] }, + "rgblight": { + "led_count": 4 + }, "ws2812": { "pin": "B6" }, |