1
0
Fork 0

Migrate RGB Matrix config to info.json - H (#22861)

This commit is contained in:
Joel Challis 2024-01-08 02:15:50 +00:00 committed by GitHub
parent c7b59a96df
commit a45107e152
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 413 additions and 681 deletions

View file

@ -18,15 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// WS2812 RGB LED strip input and number of LEDs
#define RGB_MATRIX_LED_COUNT 62
#define RGB_MATRIX_SPLIT { 32, 30 }
#define RGB_MATRIX_SLEEP
#define RGB_MATRIX_KEYPRESSES
// #define RGB_MATRIX_KEYRELEASES
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 80
#define SPLIT_TRANSPORT_MIRROR
#define SPLIT_HAND_PIN A6

View file

@ -7,7 +7,10 @@
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "ws2812"
"driver": "ws2812",
"max_brightness": 80,
"sleep": true,
"split_count": [32, 30]
},
"matrix_pins": {
"cols": ["C0", "C1", "C2", "C3", "C4", "C5"],