1
0
Fork 0

Move matrix config to info.json, part 3 (#19991)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-03-11 00:34:34 +11:00 committed by GitHub
parent 76cc7fe109
commit ace372d90d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
623 changed files with 1593 additions and 4581 deletions

View file

@ -9,10 +9,6 @@
#pragma once
// Last pins reserved for encoder / touch encoder support
#define MATRIX_ROW_PINS { A1, A3, B3, A13, B15, NO_PIN, NO_PIN }
#define MATRIX_COL_PINS { A0, B11, B0, B10, B12, B2, A8 }
#define MATRIX_IO_DELAY 5
#define BUSY_WAIT
@ -25,9 +21,6 @@
#define TOUCH_RESOLUTION 25 // sensitivity of swipes, lower=faster
#define TOUCH_SEGMENTS 3
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* CRC Configuration */
#define CRC8_OPTIMIZE_SPEED
#define CRC8_USE_TABLE

View file

@ -8,6 +8,11 @@
"pid": "0x3505",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["A0", "B11", "B0", "B10", "B12", "B2", "A8"],
"rows": ["A1", "A3", "B3", "A13", "B15", null, null]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B8", "pin_b": "A14"},

View file

@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define RGBLIGHT_LIMIT_VAL 120
#define USB_MAX_POWER_CONSUMPTION 500

View file

@ -16,7 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MATRIX_ROW_PINS { D7, D1, D5, D6, C2 }
#define MATRIX_COL_PINS { C3, C4, C5, C6, C7, A7, A6, A5, A4, A3, A2, A1, A0 }
#define RGB_DI_PIN B3

View file

@ -1,4 +1,9 @@
{
"matrix_pins": {
"cols": ["C3", "C4", "C5", "C6", "C7", "A7", "A6", "A5", "A4", "A3", "A2", "A1", "A0"],
"rows": ["D7", "D1", "D5", "D6", "C2"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32a",
"bootloader": "usbasploader",
"encoder": {

View file

@ -16,7 +16,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MATRIX_ROW_PINS { A15, B10, A14, A13, A7 }
#define MATRIX_COL_PINS { A8, A6, B0, B1, B2, B4, B5, A1, A2, B3, B9, A10, A9 }
#define RGB_DI_PIN A3

View file

@ -1,4 +1,9 @@
{
"matrix_pins": {
"cols": ["A8", "A6", "B0", "B1", "B2", "B4", "B5", "A1", "A2", "B3", "B9", "A10", "A9"],
"rows": ["A15", "B10", "A14", "A13", "A7"]
},
"diode_direction": "COL2ROW",
"processor": "STM32F303",
"bootloader": "stm32-dfu",
"board": "QMK_PROTON_C",

View file

@ -23,13 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define EE_HANDS
#define MATRIX_ROW_PINS { C6, B6, B5, B4, D7, E6}
// wiring of each half
#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7 }
#define DIODE_DIRECTION COL2ROW
#ifdef IOS_DEVICE_ENABLE
#define RGBLIGHT_LIMIT_VAL 40
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 40

View file

@ -8,6 +8,11 @@
"pid": "0x3060",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7"],
"rows": ["C6", "B6", "B5", "B4", "D7", "E6"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D2", "pin_b": "D6"}

View file

@ -8,6 +8,11 @@
"pid": "0x3060",
"device_version": "0.0.2"
},
"matrix_pins": {
"cols": ["F0", "F1", "F4", "F5", "F6", "F7", "C7"],
"rows": ["C6", "B6", "B5", "B4", "D7", "E6"]
},
"diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D3"
},

View file

@ -9,13 +9,6 @@
#pragma once
// Last pins reserved for encoder / touch encoder support
#define MATRIX_ROW_PINS { B15, A8, A15, B12, A3, NO_PIN }
#define MATRIX_ROW_PINS_RIGHT { B15, B14, A8, A13, A7, NO_PIN }
// Empty matrix entries used for encoder / touch encoder support
#define MATRIX_COL_PINS { A6, A7, B0, B2, B1, B9, B3, B4 }
#define MATRIX_COL_PINS_RIGHT { B9, B8, B4, A6, A3, B10, B12, B11 }
#define MATRIX_IO_DELAY 5
#define BUSY_WAIT
@ -28,9 +21,6 @@
#define TOUCH_RESOLUTION 25 // sensitivity of swipes, lower=faster
#define TOUCH_SEGMENTS 3
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* CRC Configuration */
#define CRC8_OPTIMIZE_SPEED
#define CRC8_USE_TABLE

View file

@ -8,6 +8,11 @@
"pid": "0x3510",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["A6", "A7", "B0", "B2", "B1", "B9", "B3", "B4"],
"rows": ["B15", "A8", "A15", "B12", "A3", null]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "A1", "pin_b": "A2"},
@ -25,6 +30,12 @@
{"pin_a": "B3", "pin_b": "B13"}
]
}
},
"matrix_pins": {
"right": {
"cols": ["B9", "B8", "B4", "A6", "A3", "B10", "B12", "B11"],
"rows": ["B15", "B14", "A8", "A13", "A7", null]
}
}
},
"processor": "STM32F303",

View file

@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// wiring of each half
#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
#define MATRIX_COL_PINS { B2, B3, B1, F7, F6, D4, B6 }
/* COL2ROW or ROW2COL */
#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": "0x3060",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B2", "B3", "B1", "F7", "F6", "D4", "B6"],
"rows": ["C6", "D7", "E6", "B4", "B5"]
},
"diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D0"
},

View file

@ -17,16 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// Proton-C does pin conversion
#define MATRIX_ROW_PINS { C6, E6, B5, D7, B4 }
#define MATRIX_COL_PINS { F4, F5, F6, F7, B3, B1, B2 }
#define RGB_DI_PIN B6
/* COL2ROW or ROW2COL */
#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": "0x3061",
"device_version": "0.0.2"
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B3", "B1", "B2"],
"rows": ["C6", "E6", "B5", "D7", "B4"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D4", "pin_b": "D2"}

View file

@ -21,13 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Select hand configuration */
#define EE_HANDS
#define MATRIX_ROW_PINS { F1, F5, F7, B5, B4 }
// wiring of each half
#define MATRIX_COL_PINS { F4, F6, C7, C6, B6, D4 }
#define DIODE_DIRECTION COL2ROW
/* ws2812 RGB LED */
#define RGB_DI_PIN B7
#ifndef RGBLIGHT_SPLIT_ENABLE

View file

@ -8,6 +8,11 @@
"pid": "0x3060",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F4", "F6", "C7", "C6", "B6", "D4"],
"rows": ["F1", "F5", "F7", "B5", "B4"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D2", "pin_b": "D7"}