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

@ -16,11 +16,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 36
#define RGB_MATRIX_SPLIT { 18, 18 }
#define RGB_MATRIX_CENTER { 133, 54 }
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#undef LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View file

@ -20,7 +20,9 @@
"pin": "D3"
},
"rgb_matrix": {
"driver": "ws2812"
"center_point": [133, 54],
"driver": "ws2812",
"split_count": [18, 18]
},
"matrix_pins": {
"cols": ["C6", "D7", "E6", "B4", "B5"],