summaryrefslogtreecommitdiff
path: root/keyboards/kona_classic
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kona_classic')
-rw-r--r--keyboards/kona_classic/config.h12
-rw-r--r--keyboards/kona_classic/info.json5
-rw-r--r--keyboards/kona_classic/kona_classic.c16
3 files changed, 5 insertions, 28 deletions
diff --git a/keyboards/kona_classic/config.h b/keyboards/kona_classic/config.h
index 4b0c193cc1..7e634bd2b3 100644
--- a/keyboards/kona_classic/config.h
+++ b/keyboards/kona_classic/config.h
@@ -17,18 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-// ROWS: Top to bottom, COLS: Left to right
-/* Row pin configuration
-*/
-#define MATRIX_ROW_PINS { F1, F5, F6, F7, B6 }
-/* Column pin configuration
- */
-#define MATRIX_COL_PINS { F0, F4, B5, B4, D7, D6, B0, B1, B3, D2, B7, D0, D1, D3, C6, C7 }
-
-/* COL2ROW or ROW2COL */
-#define DIODE_DIRECTION ROW2COL
-
/* Underlight configuration
*/
#define RGB_DI_PIN B2
diff --git a/keyboards/kona_classic/info.json b/keyboards/kona_classic/info.json
index 6a6f996d90..d1097921ed 100644
--- a/keyboards/kona_classic/info.json
+++ b/keyboards/kona_classic/info.json
@@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.3"
},
+ "matrix_pins": {
+ "cols": ["F0", "F4", "B5", "B4", "D7", "D6", "B0", "B1", "B3", "D2", "B7", "D0", "D1", "D3", "C6", "C7"],
+ "rows": ["F1", "F5", "F6", "F7", "B6"]
+ },
+ "diode_direction": "ROW2COL",
"processor": "atmega32u4",
"bootloader": "halfkay",
"layouts": {
diff --git a/keyboards/kona_classic/kona_classic.c b/keyboards/kona_classic/kona_classic.c
deleted file mode 100644
index af4ea06e6d..0000000000
--- a/keyboards/kona_classic/kona_classic.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2017 Mathias Andersson <wraul@dbox.se>
- *
- * 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 "kona_classic.h"