summaryrefslogtreecommitdiff
path: root/keyboards/handwired/ergocheap
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/ergocheap')
-rw-r--r--keyboards/handwired/ergocheap/config.h5
-rw-r--r--keyboards/handwired/ergocheap/ergocheap.c16
-rw-r--r--keyboards/handwired/ergocheap/info.json5
3 files changed, 5 insertions, 21 deletions
diff --git a/keyboards/handwired/ergocheap/config.h b/keyboards/handwired/ergocheap/config.h
index 61946adcd2..4458922746 100644
--- a/keyboards/handwired/ergocheap/config.h
+++ b/keyboards/handwired/ergocheap/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#define MATRIX_COL_PINS { A8, A9, B14, B12, B13, B15, B3, B11, A4, A5, A6, A7, B0, B1, B10 }
-#define MATRIX_ROW_PINS { B5, B6, B7, B9, B8 }
-
-#define DIODE_DIRECTION COL2ROW
-
#define TAPPING_TERM 500
#define PERMISSIVE_HOLD
diff --git a/keyboards/handwired/ergocheap/ergocheap.c b/keyboards/handwired/ergocheap/ergocheap.c
deleted file mode 100644
index ab5cf8a0a7..0000000000
--- a/keyboards/handwired/ergocheap/ergocheap.c
+++ /dev/null
@@ -1,16 +0,0 @@
- /* Copyright 2021 xSteins <itsmesteins@gmail.com>
- *
- * 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 "ergocheap.h" \ No newline at end of file
diff --git a/keyboards/handwired/ergocheap/info.json b/keyboards/handwired/ergocheap/info.json
index 959a4299f5..097a4e6278 100644
--- a/keyboards/handwired/ergocheap/info.json
+++ b/keyboards/handwired/ergocheap/info.json
@@ -8,6 +8,11 @@
"pid": "0x6942",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["A8", "A9", "B14", "B12", "B13", "B15", "B3", "B11", "A4", "A5", "A6", "A7", "B0", "B1", "B10"],
+ "rows": ["B5", "B6", "B7", "B9", "B8"]
+ },
+ "diode_direction": "COL2ROW",
"processor": "STM32F103",
"bootloader": "stm32duino",
"layouts": {