Move matrix config to info.json, part 4 (#20001)

This commit is contained in:
Ryan
2023-03-11 00:00:24 +11:00
committed by GitHub
parent dd086a51d8
commit 9e64300e67
584 changed files with 1484 additions and 3703 deletions

View File

@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MATRIX_COL_PINS { B2, B10, B11, A9, A15, B3, B4, B5, B6, B7, B8, B9, C13, C14, C15, B12 }
#define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 }
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1

View File

@@ -0,0 +1,7 @@
{
"matrix_pins": {
"cols": ["B2", "B10", "B11", "A9", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "C13", "C14", "C15", "B12"],
"rows": ["B1", "B0", "A7", "A5", "A4"]
},
"diode_direction": "COL2ROW"
}

View File

@@ -17,10 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MATRIX_COL_PINS { B1, B0, A7, A1, A5, A4, A3, A10, B9, B8, B7, B6, B5, B4, B3, A15 }
#define MATRIX_ROW_PINS { B2, B10, B11, A2, A0 }
#define DIODE_DIRECTION COL2ROW
#define BACKLIGHT_PWM_DRIVER PWMD3
#define BACKLIGHT_PWM_CHANNEL 1
#define BACKLIGHT_PAL_MODE 1

View File

@@ -0,0 +1,7 @@
{
"matrix_pins": {
"cols": ["B1", "B0", "A7", "A1", "A5", "A4", "A3", "A10", "B9", "B8", "B7", "B6", "B5", "B4", "B3", "A15"],
"rows": ["B2", "B10", "B11", "A2", "A0"]
},
"diode_direction": "COL2ROW"
}

View File

@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#define MATRIX_COL_PINS { B14, A2, B9, B8, B5, B4, B3, A15, B11, B10, B2, A3, B1, B0, A4, A5 }
// 1 2 3 4 5
#define MATRIX_ROW_PINS { A8, A9, B13, A6, A7 }
#define DIODE_DIRECTION COL2ROW
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,11 @@
"pid": "0x0165",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B14", "A2", "B9", "B8", "B5", "B4", "B3", "A15", "B11", "B10", "B2", "A3", "B1", "B0", "A4", "A5"],
"rows": ["A8", "A9", "B13", "A6", "A7"]
},
"diode_direction": "COL2ROW",
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"layouts": {

View File

@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// 0 1 2 3 4 5 6 7 8 9 A B
#define MATRIX_COL_PINS { A7, A6, A5, A4, A3, A2, A15, B3, B4 }
#define MATRIX_ROW_PINS { B13, B12, A8, B15, A10, A9, B9, B8, B1, B0, B10, B2 }
#define DIODE_DIRECTION COL2ROW
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */

View File

@@ -8,6 +8,11 @@
"pid": "0x0187",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["A7", "A6", "A5", "A4", "A3", "A2", "A15", "B3", "B4"],
"rows": ["B13", "B12", "A8", "B15", "A10", "A9", "B9", "B8", "B1", "B0", "B10", "B2"]
},
"diode_direction": "COL2ROW",
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"community_layouts": ["tkl_ansi"],