Migrate RGB Matrix config to info.json - RS (#22909)

This commit is contained in:
Joel Challis 2024-01-16 01:03:55 +00:00 committed by GitHub
parent de6ae3408c
commit a90b45e832
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
72 changed files with 839 additions and 1201 deletions

View file

@ -19,16 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MASTER_RIGHT
#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_LED_COUNT 52
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_TYPING_HEATMAP
#else
#ifdef RGBLIGHT_ENABLE
/*== customize breathing effect ==*/
/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
#define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
@ -39,7 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_SNAKE_LENGTH RGBLIGHT_LED_COUNT
/*== customize knight effect ==*/
#define RGBLIGHT_EFFECT_KNIGHT_LENGTH 6
#endif
#endif
/* Audio */
#ifdef AUDIO_ENABLE

View file

@ -12,7 +12,14 @@
"pin": "D3"
},
"rgb_matrix": {
"animations": {
"typing_heatmap": true
},
"default": {
"animation": "typing_heatmap"
},
"driver": "ws2812",
"max_brightness": 150,
"sat_steps": 8,
"val_steps": 8,
"speed_steps": 8