Move matrix config to info.json, part 1 (#19985)
This commit is contained in:
@@ -16,10 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define MATRIX_COL_PINS { A0, B1, B0, A4, B5, B4, B3 }
|
||||
#define MATRIX_ROW_PINS { A2, A1, B8, A10, C15, A15, B7, B6, C14, C13}
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD2
|
||||
#define BACKLIGHT_PWM_CHANNEL 4
|
||||
#define BACKLIGHT_PAL_MODE 2
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x0007",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A0", "B1", "B0", "A4", "B5", "B4", "B3"],
|
||||
"rows": ["A2", "A1", "B8", "A10", "C15", "A15", "B7", "B6", "C14", "C13"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"backlight": {
|
||||
"pin": "A3",
|
||||
"levels": 10,
|
||||
|
Reference in New Issue
Block a user