Move matrix config to info.json, part 1 (#19985)
This commit is contained in:
parent
b34d51d08d
commit
23c365b023
502 changed files with 1299 additions and 3461 deletions
|
@ -16,10 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#define MATRIX_COL_PINS { A0, A3, A4, A7, 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 PWMD3
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
#define BACKLIGHT_PAL_MODE 1
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0x0010",
|
||||
"device_version": "0.0.2"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A0", "A3", "A4", "A7", "B5", "B4", "B3"],
|
||||
"rows": ["A2", "A1", "B8", "A10", "C15", "A15", "B7", "B6", "C14", "C13"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"backlight": {
|
||||
"pin": "A6",
|
||||
"levels": 6,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue