summaryrefslogtreecommitdiff
path: root/keyboards/rmi_kb/wete/v2
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rmi_kb/wete/v2')
-rw-r--r--keyboards/rmi_kb/wete/v2/config.h17
-rw-r--r--keyboards/rmi_kb/wete/v2/info.json5
-rw-r--r--keyboards/rmi_kb/wete/v2/v2.c17
-rw-r--r--keyboards/rmi_kb/wete/v2/v2.h6
4 files changed, 8 insertions, 37 deletions
diff --git a/keyboards/rmi_kb/wete/v2/config.h b/keyboards/rmi_kb/wete/v2/config.h
index baf134e5e9..475cb25078 100644
--- a/keyboards/rmi_kb/wete/v2/config.h
+++ b/keyboards/rmi_kb/wete/v2/config.h
@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-/*
- * Keyboard Matrix Assignments
- *
- * Change this to how you wired your keyboard
- * COLS: AVR pins used for columns, left to right
- * ROWS: AVR pins used for rows, top to bottom
- * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
- * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
- *
- */
-#define MATRIX_ROW_PINS { B3, B2, B6, C6, C7, E6, F7, F6, F5, F4, F1, F0, NO_PIN }
-#define MATRIX_COL_PINS { B1, B0, B7, B5, B4, D7, D6, D4, D5, D3 }
-
-/* COL2ROW, ROW2COL */
-#define DIODE_DIRECTION COL2ROW
-
#define RGBLIGHT_LAYERS
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
diff --git a/keyboards/rmi_kb/wete/v2/info.json b/keyboards/rmi_kb/wete/v2/info.json
index c477304658..e110a7ff9e 100644
--- a/keyboards/rmi_kb/wete/v2/info.json
+++ b/keyboards/rmi_kb/wete/v2/info.json
@@ -8,6 +8,11 @@
"pid": "0x00B3",
"device_version": "35.0.0"
},
+ "matrix_pins": {
+ "cols": ["B1", "B0", "B7", "B5", "B4", "D7", "D6", "D4", "D5", "D3"],
+ "rows": ["B3", "B2", "B6", "C6", "C7", "E6", "F7", "F6", "F5", "F4", "F1", "F0", null]
+ },
+ "diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "D2", "pin_b": "D1"}
diff --git a/keyboards/rmi_kb/wete/v2/v2.c b/keyboards/rmi_kb/wete/v2/v2.c
deleted file mode 100644
index de5f32e3ca..0000000000
--- a/keyboards/rmi_kb/wete/v2/v2.c
+++ /dev/null
@@ -1,17 +0,0 @@
-/* Copyright 2021 Ramon Imbao
- *
- * 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 "v2.h"
diff --git a/keyboards/rmi_kb/wete/v2/v2.h b/keyboards/rmi_kb/wete/v2/v2.h
index 75c9430c02..0a8ceed571 100644
--- a/keyboards/rmi_kb/wete/v2/v2.h
+++ b/keyboards/rmi_kb/wete/v2/v2.h
@@ -46,7 +46,7 @@ void adjust_leds(void);
{ k70, ___, k72, k73, k74, k75, k76, k77, k78, k79 }, \
{ k80, k81, k82, k83, k84, k85, k86, k87, ___, k89 }, \
{ k90, k91, ___, k93, k94, k95, k96, k97, k98, k99 }, \
- { ka0, ___, ka2, ka3, ___, ka5, ___, ka7, ___, ka9 }, \
+ { ka0, ka1, ka2, ka3, ___, ka5, ___, ka7, ___, ka9 }, \
{ ___, ___, kb2, ___, ___, ___, ___, kb7, kb8, kb9 }, \
{ ___, ___, ___, ___, ___, ___, ___, ___, ___, ___ }, \
}
@@ -74,7 +74,7 @@ void adjust_leds(void);
{ k70, ___, k72, k73, k74, k75, k76, k77, k78, k79 }, \
{ k80, k81, k82, k83, k84, k85, k86, k87, ___, k89 }, \
{ k90, k91, k92, k93, k94, k95, k96, k97, k98, k99 }, \
- { ka0, ___, ka2, ka3, ___, ka5, ___, ka7, ___, ka9 }, \
+ { ka0, ka1, ka2, ka3, ___, ka5, ___, ka7, ___, ka9 }, \
{ ___, ___, kb2, ___, ___, ___, ___, kb7, kb8, kb9 }, \
{ ___, ___, ___, ___, ___, ___, ___, ___, ___, ___ }, \
}
@@ -96,7 +96,7 @@ void adjust_leds(void);
) { \
{ k00, k01, k02, k03, k04, k05, k06, ___, k08, k09 }, \
{ k10, k11, k12, k13, ___, k15, k16, k17, k18, k19 }, \
- { k20, k21, k22, k23, k24, k25, k26, k27, k28, ___ }, \
+ { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \
{ k30 ,k31, k32, k33, k34, k35, k36, k37, k38, k39 }, \
{ k40, k41, k42, k43, k44, k45, k46, k47, k48, k49 }, \
{ k50, k51, k52, k53, k54, k55, k56, k57, ___, k59 }, \