Move matrix config to info.json, part 8 (#20030)
parent
4b1f0e8daa
commit
1022afa6c2
@ -1,21 +0,0 @@ |
||||
// Copyright 2021 jp_smasher (@jp_smasher)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once |
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments |
||||
* |
||||
* Change this to how you wired your keyboard |
||||
* COLS: AVR pins used for columns, left to right |
||||
* ROWS: AVR pins used for rows, top to bottom |
||||
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) |
||||
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) |
||||
* |
||||
*/ |
||||
#define MATRIX_ROW_PINS { F4, B2, E6, B4 } |
||||
#define MATRIX_COL_PINS { D1, D0, D4, C6, D7, F5, F6, F7, B1, B3 } |
||||
|
||||
/* COL2ROW, ROW2COL */ |
||||
#define DIODE_DIRECTION COL2ROW |
@ -0,0 +1,7 @@ |
||||
{ |
||||
"matrix_pins": { |
||||
"cols": ["F4", "F5", "F6", "F7", "B1"], |
||||
"rows": ["D4", "C6", "D7", "E6"] |
||||
}, |
||||
"diode_direction": "COL2ROW" |
||||
} |
@ -0,0 +1,7 @@ |
||||
{ |
||||
"matrix_pins": { |
||||
"cols": ["F4", "F5", "F6", "F7", "B1"], |
||||
"rows": ["D4", "C6", "D7", "E6"] |
||||
}, |
||||
"diode_direction": "COL2ROW" |
||||
} |
@ -0,0 +1,7 @@ |
||||
{ |
||||
"matrix_pins": { |
||||
"cols": ["D4", "C6", "D7", "E6", "B4"], |
||||
"rows": ["F4", "F5", "F6", "F7"] |
||||
}, |
||||
"diode_direction": "COL2ROW" |
||||
} |
@ -0,0 +1,7 @@ |
||||
{ |
||||
"matrix_pins": { |
||||
"cols": ["F4", "F5", "F6", "F7"], |
||||
"rows": ["D4", "C6", "D7", "E6", "B4"] |
||||
}, |
||||
"diode_direction": "COL2ROW" |
||||
} |
@ -1,21 +0,0 @@ |
||||
/*
|
||||
Copyright 2021 KapCave |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 2 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
#pragma once |
||||
|
||||
|
||||
/* COL2ROW or ROW2COL */ |
||||
#define DIODE_DIRECTION COL2ROW |
@ -1,5 +1,10 @@ |
||||
{ |
||||
"usb": { |
||||
"device_version": "0.0.1" |
||||
} |
||||
}, |
||||
"matrix_pins": { |
||||
"cols": ["D4", "D5", "D3", "B7"], |
||||
"rows": ["C7", "B6", "B4", "D7", "D6"] |
||||
}, |
||||
"diode_direction": "COL2ROW" |
||||
} |
||||
|
@ -1,5 +1,10 @@ |
||||
{ |
||||
"usb": { |
||||
"device_version": "0.0.2" |
||||
} |
||||
}, |
||||
"matrix_pins": { |
||||
"cols": ["F7", "F5", "D3", "B7"], |
||||
"rows": ["F4", "F6", "D7", "B4", "D6"] |
||||
}, |
||||
"diode_direction": "COL2ROW" |
||||
} |
||||
|
@ -1,26 +0,0 @@ |
||||
/*
|
||||
Copyright 2021 kb-elmo<mail@elmo.space> |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 2 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
|
||||
/* Keyboard Matrix Assignments */ |
||||
#define MATRIX_ROW_PINS { D7, B4, D6, D5, B0 } |
||||
#define MATRIX_COL_PINS { B3, B2, B1, D4, D2, D3, C7, C6, B5, B6, F7, F6, F5, F0, F1, F4 } |
||||
|
||||
/* COL2ROW, ROW2COL */ |
||||
#define DIODE_DIRECTION COL2ROW |
@ -1,28 +0,0 @@ |
||||
/*
|
||||
Copyright 2020 kb-elmo<mail@elmo.space> |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 2 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
|
||||
/*
|
||||
* Keyboard Matrix Assignments |
||||
*/ |
||||
#define MATRIX_ROW_PINS { C5, C4, B2, B1, D7, B0 } |
||||
#define MATRIX_COL_PINS { C0, C1, C2, C3 } |
||||
|
||||
/* COL2ROW, ROW2COL*/ |
||||
#define DIODE_DIRECTION COL2ROW |
@ -1,26 +0,0 @@ |
||||
/*
|
||||
Copyright 2021 kb-elmo<mail@elmo.space> |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 2 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
|
||||
/* Keyboard Matrix Assignments */ |
||||
#define MATRIX_ROW_PINS { C6, C4, B1, B0 } |
||||
#define MATRIX_COL_PINS { C7, B7, B6, B5, B4, B3, D6, D5, D4, D3 } |
||||
|
||||
/* COL2ROW, ROW2COL */ |
||||
#define DIODE_DIRECTION COL2ROW |
@ -1,26 +0,0 @@ |
||||
/*
|
||||
Copyright 2021 kb-elmo<mail@elmo.space> |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 2 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
|
||||
/* Keyboard Matrix Assignments */ |
||||
#define MATRIX_ROW_PINS { D1, C4, D7 } |
||||
#define MATRIX_COL_PINS { C5, D0, B0, D6 } |
||||
|
||||
/* COL2ROW, ROW2COL */ |
||||
#define DIODE_DIRECTION COL2ROW |
@ -1,26 +0,0 @@ |
||||
/*
|
||||
Copyright 2021 kb-elmo<mail@elmo.space> |
||||
|
||||
This program is free software: you can redistribute it and/or modify |
||||
it under the terms of the GNU General Public License as published by |
||||
the Free Software Foundation, either version 2 of the License, or |
||||
(at your option) any later version. |
||||
|
||||
This program is distributed in the hope that it will be useful, |
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of |
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||||
GNU General Public License for more details. |
||||
|
||||
You should have received a copy of the GNU General Public License |
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/ |
||||
|
||||
#pragma once |
||||
|
||||
|
||||
/* Keyboard Matrix Assignments */ |
||||
#define MATRIX_ROW_PINS { D2, D4, B7, C6 } |
||||
#define MATRIX_COL_PINS { C4, C7, D3, D5, B6, D6, B5, B0, B4, B1, B3, B2 } |
||||
|
||||
/* COL2ROW, ROW2COL */ |
||||
#define DIODE_DIRECTION COL2ROW |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue