summaryrefslogtreecommitdiff
path: root/keyboards/lime/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lime/rev1')
-rw-r--r--keyboards/lime/rev1/config.h5
-rw-r--r--keyboards/lime/rev1/info.json5
-rw-r--r--keyboards/lime/rev1/rev1.c2
3 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/lime/rev1/config.h b/keyboards/lime/rev1/config.h
index 841a7bb764..6ecfdf3034 100644
--- a/keyboards/lime/rev1/config.h
+++ b/keyboards/lime/rev1/config.h
@@ -16,11 +16,6 @@
#pragma once
-// wiring of each half
-#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 }
-#define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
-#define DIODE_DIRECTION COL2ROW
-
#define TAPPING_TERM 100
/* joystick support */
diff --git a/keyboards/lime/rev1/info.json b/keyboards/lime/rev1/info.json
index fb05828f6d..8fb3cb2f28 100644
--- a/keyboards/lime/rev1/info.json
+++ b/keyboards/lime/rev1/info.json
@@ -8,6 +8,11 @@
"pid": "0x2784",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["F6", "F7", "B1", "B3", "B2", "B6"],
+ "rows": ["D4", "C6", "D7", "E6", "B4", "B5"]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "F5", "pin_b": "F4", "resolution": 2}
diff --git a/keyboards/lime/rev1/rev1.c b/keyboards/lime/rev1/rev1.c
index 4cc560623b..50c2e6dff6 100644
--- a/keyboards/lime/rev1/rev1.c
+++ b/keyboards/lime/rev1/rev1.c
@@ -14,7 +14,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "lime.h"
+#include "rev1.h"
/* Encoders */
#ifdef ENCODER_ENABLE