1
0
Fork 0

Migrate RGB Matrix config to info.json - EF (#22808)

This commit is contained in:
Joel Challis 2024-01-04 06:04:57 +00:00 committed by GitHub
parent a5f1438f58
commit 1bd9b9204d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 258 additions and 368 deletions

View file

@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#ifdef RGB_MATRIX_ENABLE
# define SPLIT_TRANSPORT_MIRROR
# define RGB_MATRIX_LED_COUNT 54
# define RGB_MATRIX_SPLIT { 27, 27 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170
#endif
#ifndef OLED_FONT_H
# define OLED_FONT_H "keyboards/elephant42/lib/glcdfont.c"
#endif

View file

@ -12,7 +12,9 @@
"driver": "ws2812",
"sat_steps": 8,
"val_steps": 8,
"speed_steps": 8
"speed_steps": 8,
"max_brightness": 170,
"split_count": [27, 27]
},
"rgblight": {
"saturation_steps": 8,
@ -39,7 +41,12 @@
},
"diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D2"
"soft_serial_pin": "D2",
"transport": {
"sync": {
"matrix_state": true
}
}
},
"ws2812": {
"pin": "D3"