mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-09-10 15:54:06 +00:00
Migrate RGB Matrix config to info.json - B (#22806)
This commit is contained in:
@@ -24,18 +24,10 @@
|
||||
#define SPLIT_USB_DETECT
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
/* ws2812 RGB MATRIX */
|
||||
# define RGB_MATRIX_LED_COUNT 76
|
||||
|
||||
// reacts to keypresses
|
||||
# define RGB_MATRIX_KEYPRESSES
|
||||
|
||||
// for all fingers used at once.
|
||||
# define LED_HITS_TO_REMEMBER 10
|
||||
|
||||
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
|
||||
// the above brighness setting has no effect on rgb_matrix_set_color().
|
||||
// the max brightness setting has no effect on rgb_matrix_set_color().
|
||||
// Use darker colors instead.
|
||||
/* RGB darker COLORS */
|
||||
# define RGB_DARKWHITE 0x33, 0x33, 0x33
|
||||
@@ -58,8 +50,6 @@
|
||||
# define RGB_DARKPINK 0x33, 0x19, 0x26
|
||||
|
||||
// https://docs.qmk.fm/#/feature_rgb_matrix
|
||||
// Enable suspend mode.
|
||||
# define RGB_MATRIX_SLEEP
|
||||
|
||||
# ifdef CONSOLE_ENABLE
|
||||
# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
|
||||
@@ -84,7 +74,7 @@
|
||||
// RAINDROPS don't match well with layer LED indicator (oc) using rgb_matrix_set_color().
|
||||
// #define ENABLE_RGB_MATRIX_RAINDROPS
|
||||
// #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
|
||||
// Recommendend not to use these.
|
||||
// Recommended not to use these.
|
||||
# ifndef VIA_ENABLE
|
||||
# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
||||
# define ENABLE_RGB_MATRIX_BAND_VAL
|
||||
|
@@ -9,7 +9,9 @@
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "ws2812"
|
||||
"driver": "ws2812",
|
||||
"max_brightness": 50,
|
||||
"sleep": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D1", "E6", "F7", "B1", "B3", "B2", "D0"],
|
||||
|
Reference in New Issue
Block a user