summaryrefslogtreecommitdiff
path: root/keyboards/meson
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-03-11 00:39:56 +1100
committerGitHub <noreply@github.com>2023-03-11 00:39:56 +1100
commitcaa8c81086a806ea048c91ba142d424dc6a49f50 (patch)
tree824de64449d9cfaeba176288d379a282c733ae1a /keyboards/meson
parentace372d90de13dafc815df5d8049497cb351b69b (diff)
Move matrix config to info.json, part 7 (#20020)
Diffstat (limited to 'keyboards/meson')
-rw-r--r--keyboards/meson/config.h7
-rw-r--r--keyboards/meson/info.json5
2 files changed, 5 insertions, 7 deletions
diff --git a/keyboards/meson/config.h b/keyboards/meson/config.h
index a0df182439..c5f295bfee 100644
--- a/keyboards/meson/config.h
+++ b/keyboards/meson/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18#pragma once 18#pragma once
19 19
20
21#define MATRIX_ROW_PINS { F7, C6, F6, F5 }
22#define MATRIX_COL_PINS { D4, D7, E6, B3, B2, B6, F4 }
23
24/* COL2ROW, ROW2COL*/
25#define DIODE_DIRECTION COL2ROW
26
27#define USE_I2C 20#define USE_I2C
28 21
29#define RGB_DI_PIN B5 22#define RGB_DI_PIN B5
diff --git a/keyboards/meson/info.json b/keyboards/meson/info.json
index 869a2ccb7a..7bcd3acbac 100644
--- a/keyboards/meson/info.json
+++ b/keyboards/meson/info.json
@@ -7,6 +7,11 @@
7 "pid": "0x0000", 7 "pid": "0x0000",
8 "device_version": "0.0.1" 8 "device_version": "0.0.1"
9 }, 9 },
10 "matrix_pins": {
11 "cols": ["D4", "D7", "E6", "B3", "B2", "B6", "F4"],
12 "rows": ["F7", "C6", "F6", "F5"]
13 },
14 "diode_direction": "COL2ROW",
10 "split": { 15 "split": {
11 "soft_serial_pin": "D0" 16 "soft_serial_pin": "D0"
12 }, 17 },