Move matrix config to info.json, part 8 (#20030)

This commit is contained in:
Ryan
2023-03-11 04:59:07 +11:00
committed by GitHub
parent 4b1f0e8daa
commit 1022afa6c2
536 changed files with 1507 additions and 3196 deletions

View File

@@ -19,12 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// wiring of each half
#define MATRIX_ROW_PINS { D7, E6, B4, B5 }
#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
#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

@@ -7,6 +7,11 @@
"pid": "0x1146",
"device_version": "1.0.0"
},
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D7", "E6", "B4", "B5"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "C6",
"levels": 7

View File

@@ -19,12 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// wiring of each half
#define MATRIX_ROW_PINS { D4, D7, E6, B4 }
#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
#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

@@ -7,6 +7,11 @@
"pid": "0x2146",
"device_version": "2.0.0"
},
"matrix_pins": {
"cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D4", "D7", "E6", "B4"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B5",
"levels": 7

View File

@@ -19,15 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// wiring of each half
#define MATRIX_ROW_PINS { D4, E6, B4, B5 }
#define MATRIX_COL_PINS { D3, F4, F7, B1, B3, B2 }
#define MATRIX_ROW_PINS_RIGHT { D4, B2, B3, B1 }
#define MATRIX_COL_PINS_RIGHT { F4, F7, D3, B5, B4, E6 }
#define SPLIT_HAND_PIN D2
#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

@@ -1,12 +1,23 @@
{
"keyboard_name": "Levinson Rev. 3",
"split": {
"soft_serial_pin": "D0"
"soft_serial_pin": "D0",
"matrix_pins": {
"right": {
"cols": ["F4", "F7", "D3", "B5", "B4", "E6"],
"rows": ["D4", "B2", "B3", "B1"]
}
}
},
"usb": {
"pid": "0x3146",
"device_version": "3.0.0"
},
"matrix_pins": {
"cols": ["D3", "F4", "F7", "B1", "B3", "B2"],
"rows": ["D4", "E6", "B4", "B5"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B6",
"levels": 7