Move matrix config to info.json, part 2 (#19987)

This commit is contained in:
Ryan
2023-03-10 22:16:56 +11:00
committed by GitHub
parent 80661e5f19
commit dd086a51d8
494 changed files with 1235 additions and 3287 deletions

View File

@@ -16,10 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Hadron Ver0 PCB default pin-out */
#define MATRIX_ROW_PINS { D7, E6, B4, B5, B6 }
#define MATRIX_COL_PINS { F6, F7, D6, C7, F5, F4, F1, F0, D2, D3, D5, B3, B2, B1, B0 }
// configure oled driver for the 128x32 oled
#define OLED_UPDATE_INTERVAL 33 // ~30fps

View File

@@ -2,6 +2,11 @@
"usb": {
"device_version": "0.0.2"
},
"matrix_pins": {
"cols": ["F6", "F7", "D6", "C7", "F5", "F4", "F1", "F0", "D2", "D3", "D5", "B3", "B2", "B1", "B0"],
"rows": ["D7", "E6", "B4", "B5", "B6"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "halfkay"
}