summaryrefslogtreecommitdiff
path: root/keyboards/contender
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/contender
parent7178645be79510eb623098bccbf1724ff9970edc (diff)
Move `RGBLED_NUM` to data driven (#21278)
Diffstat (limited to 'keyboards/contender')
-rw-r--r--keyboards/contender/config.h1
-rw-r--r--keyboards/contender/info.json1
2 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/contender/config.h b/keyboards/contender/config.h
index fa98bca834..d2d6fd7030 100644
--- a/keyboards/contender/config.h
+++ b/keyboards/contender/config.h
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define RGBLED_NUM 33
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/contender/info.json b/keyboards/contender/info.json
index 4c0cd862bd..5a10f0e4ae 100644
--- a/keyboards/contender/info.json
+++ b/keyboards/contender/info.json
@@ -12,6 +12,7 @@
"pin": "C6"
},
"rgblight": {
+ "led_count": 33,
"max_brightness": 32,
"sleep": true,
"led_map": [0, 1, 2, 3, 7, 6, 5, 4, 8, 9, 10, 11, 15, 14, 13, 12, 16, 17, 18, 19, 22, 21, 20, 25, 24, 23, 26, 27, 28, 29, 30, 31, 32]