summaryrefslogtreecommitdiff
path: root/keyboards/checkerboards/axon40
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/checkerboards/axon40')
-rw-r--r--keyboards/checkerboards/axon40/axon40.c17
-rw-r--r--keyboards/checkerboards/axon40/config.h9
-rw-r--r--keyboards/checkerboards/axon40/info.json5
3 files changed, 5 insertions, 26 deletions
diff --git a/keyboards/checkerboards/axon40/axon40.c b/keyboards/checkerboards/axon40/axon40.c
deleted file mode 100644
index a18e99cfab..0000000000
--- a/keyboards/checkerboards/axon40/axon40.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2021 Nathan Spears
-*
-* 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/>.
-*/
-
-#include "axon40.h"
diff --git a/keyboards/checkerboards/axon40/config.h b/keyboards/checkerboards/axon40/config.h
index aca5940c63..825d77b4ae 100644
--- a/keyboards/checkerboards/axon40/config.h
+++ b/keyboards/checkerboards/axon40/config.h
@@ -16,15 +16,6 @@
#pragma once
-
-/* key matrix pins */
-#define MATRIX_ROW_PINS { D2, D3, D1, D5 }
-#define MATRIX_COL_PINS { C7, B7, D4, D6, F0, F1, C6, B6, B5, B4, E6, B0 }
-
-
-/* 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
diff --git a/keyboards/checkerboards/axon40/info.json b/keyboards/checkerboards/axon40/info.json
index d3c6c1cb70..7bc52e7b9c 100644
--- a/keyboards/checkerboards/axon40/info.json
+++ b/keyboards/checkerboards/axon40/info.json
@@ -8,6 +8,11 @@
"pid": "0x1119",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["C7", "B7", "D4", "D6", "F0", "F1", "C6", "B6", "B5", "B4", "E6", "B0"],
+ "rows": ["D2", "D3", "D1", "D5"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {