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 RGB_MATRIX_LED_COUNT 36
#define RGB_MATRIX_LED_FLUSH_LIMIT 16
#define RGB_MATRIX_DEFAULT_VAL 150
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
#endif
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View file

@ -9,7 +9,12 @@
"device_version": "0.0.4"
},
"rgb_matrix": {
"driver": "ws2812"
"default": {
"val": 150
},
"driver": "ws2812",
"led_flush_limit": 16,
"max_brightness": 200
},
"matrix_pins": {
"cols": ["D4", "C6", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],