summaryrefslogtreecommitdiff
path: root/keyboards/silverbullet44
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/silverbullet44
parent6c4286152f924fc98a6f18e14987f1db6e55ae5e (diff)
Move `RGBLIGHT_LED_MAP` to data driven (#21095)
Diffstat (limited to 'keyboards/silverbullet44')
-rw-r--r--keyboards/silverbullet44/config.h2
-rw-r--r--keyboards/silverbullet44/info.json1
2 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/silverbullet44/config.h b/keyboards/silverbullet44/config.h
index 67d78aa0c6..39a96f10c6 100644
--- a/keyboards/silverbullet44/config.h
+++ b/keyboards/silverbullet44/config.h
@@ -36,8 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_TYPING_HEATMAP
#else
- #define RGBLIGHT_LED_MAP { 0,1,2,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,3,4,5,6, \
- 26,27,28,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,29,30,31,32 }
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
diff --git a/keyboards/silverbullet44/info.json b/keyboards/silverbullet44/info.json
index 9ca5218d12..4146b4feee 100644
--- a/keyboards/silverbullet44/info.json
+++ b/keyboards/silverbullet44/info.json
@@ -16,6 +16,7 @@
},
"rgblight": {
"max_brightness": 150,
+ "led_map": [0, 1, 2, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 3, 4, 5, 6, 26, 27, 28, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 29, 30, 31, 32],
"split_count": [26, 26]
},
"matrix_pins": {