Move matrix config to info.json, part 6 (#20019)
This commit is contained in:
parent
9e64300e67
commit
76cc7fe109
702 changed files with 1779 additions and 5015 deletions
|
@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
// wiring of each half
|
||||
#define MATRIX_COL_PINS { C0, C1, C2, C3, C4, C5 }
|
||||
#define MATRIX_ROW_PINS { A0, A1, A2, A3, A4 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN E7
|
||||
#define RGB_MATRIX_LED_COUNT 62
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
"pid": "0x3537",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C0", "C1", "C2", "C3", "C4", "C5"],
|
||||
"rows": ["A0", "A1", "A2", "A3", "A4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"split": {
|
||||
"soft_serial_pin": "D3",
|
||||
"bootmagic": {
|
||||
|
|
|
@ -18,16 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
// wiring of each half
|
||||
// left
|
||||
#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
|
||||
#define MATRIX_ROW_PINS { F6, F7, B1, B3, B2, B6 }
|
||||
// right
|
||||
#define MATRIX_COL_PINS_RIGHT { D6, D7, B4, D3, C6, C7 }
|
||||
#define MATRIX_ROW_PINS_RIGHT { D4, B7, F7, B6, B5, F6 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
//#undef USE_I2C
|
||||
#define MASTER_RIGHT
|
||||
|
||||
|
|
|
@ -1,7 +1,18 @@
|
|||
{
|
||||
"keyboard_name": "Tractyl Manuform(5x6) Arduino Micro (r)/ Pro Micro (l)",
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "C6", "D7", "E6", "B4", "B5"],
|
||||
"rows": ["F6", "F7", "B1", "B3", "B2", "B6"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
"soft_serial_pin": "D0",
|
||||
"matrix_pins": {
|
||||
"right": {
|
||||
"cols": ["D6", "D7", "B4", "D3", "C6", "C7"],
|
||||
"rows": ["D4", "B7", "F7", "B6", "B5", "F6"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"bootloader": "caterina"
|
||||
|
|
|
@ -18,14 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
// wiring of each half
|
||||
#define MATRIX_COL_PINS \
|
||||
{ D4, D7, E6, B4, B5, B7 }
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ F7, F6, F5, F4, F1, F0 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 20
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"keyboard_name": "Tractyl Manuform (5x6) Elite-C",
|
||||
"matrix_pins": {
|
||||
"cols": ["D4", "D7", "E6", "B4", "B5", "B7"],
|
||||
"rows": ["F7", "F6", "F5", "F4", "F1", "F0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "D5", "pin_b": "C7"}
|
||||
|
|
|
@ -18,17 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
// wiring of each half
|
||||
#define MATRIX_COL_PINS \
|
||||
{ B0, B1, B2, B3, B4, B5 }
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ B10, B11, B12, A14, A13, A15 }
|
||||
// B2 used for BOOT1, has internal pull down?
|
||||
// A9 has internal pull-down
|
||||
// A11 and A12 are used for USB sense. DO NOT USE.
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
// #define USB_VBUS_PIN B10
|
||||
#define SPLIT_HAND_PIN C14 // high = left, low = right
|
||||
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"keyboard_name": "Tractyl Manuform (5x6) Proton-C",
|
||||
"matrix_pins": {
|
||||
"cols": ["B0", "B1", "B2", "B3", "B4", "B5"],
|
||||
"rows": ["B10", "B11", "B12", "A14", "A13", "A15"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A7", "pin_b": "A8"}
|
||||
|
|
|
@ -18,14 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
// wiring of each half
|
||||
#define MATRIX_COL_PINS \
|
||||
{ A15, B3, B4, B5, B6, B7 }
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ B12, B13, B14, B15, A8, A10 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
// #define USB_VBUS_PIN B10 // doesn't seem to work for me on one of my controllers... */
|
||||
#define SPLIT_HAND_PIN C14 // high = left, low = right
|
||||
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"keyboard_name": "Tractyl Manuform (5x6) BlackPill",
|
||||
"matrix_pins": {
|
||||
"cols": ["A15", "B3", "B4", "B5", "B6", "B7"],
|
||||
"rows": ["B12", "B13", "B14", "B15", "A8", "A10"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A13", "pin_b": "A14"}
|
||||
|
|
|
@ -18,14 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
// wiring of each half
|
||||
#define MATRIX_COL_PINS \
|
||||
{ C0, C1, C2, C3, C4, C5 }
|
||||
#define MATRIX_ROW_PINS \
|
||||
{ F7, F6, F5, F4, F3, F2 }
|
||||
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGB_DI_PIN E7
|
||||
#define RGBLED_NUM 20
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"keyboard_name": "Tractyl Manuform (5x6) Teensy 2.0++",
|
||||
"matrix_pins": {
|
||||
"cols": ["C0", "C1", "C2", "C3", "C4", "C5"],
|
||||
"rows": ["F7", "F6", "F5", "F4", "F3", "F2"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "D5", "pin_b": "D4"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue