summaryrefslogtreecommitdiff
path: root/keyboards/contender
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-14 22:01:13 +1000
committerGitHub <noreply@github.com>2023-06-14 22:01:13 +1000
commit9551a0a38aca3d32e38a123ae2854a8c82b26195 (patch)
treeb246fae82fe993ad7d7aabc51cc2fa408f8517b5 /keyboards/contender
parent6c4286152f924fc98a6f18e14987f1db6e55ae5e (diff)
Move `RGBLIGHT_LED_MAP` to data driven (#21095)
Diffstat (limited to 'keyboards/contender')
-rw-r--r--keyboards/contender/config.h8
-rw-r--r--keyboards/contender/info.json3
2 files changed, 2 insertions, 9 deletions
diff --git a/keyboards/contender/config.h b/keyboards/contender/config.h
index 971253f396..ef0a280611 100644
--- a/keyboards/contender/config.h
+++ b/keyboards/contender/config.h
@@ -18,14 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define RGBLED_NUM 33
-#define RGBLIGHT_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 }
#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 8a81ae164d..3eaaf23cd4 100644
--- a/keyboards/contender/info.json
+++ b/keyboards/contender/info.json
@@ -12,7 +12,8 @@
"pin": "C6"
},
"rgblight": {
- "max_brightness": 32
+ "max_brightness": 32,
+ "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]
},
"matrix_pins": {
"cols": ["C7", "D6", "B3", "B0", "B1"],