summaryrefslogtreecommitdiff
path: root/keyboards/meson
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/meson')
-rw-r--r--keyboards/meson/config.h10
-rw-r--r--keyboards/meson/info.json8
-rw-r--r--keyboards/meson/meson.c16
3 files changed, 8 insertions, 26 deletions
diff --git a/keyboards/meson/config.h b/keyboards/meson/config.h
index a0df182439..9e64ab48a6 100644
--- a/keyboards/meson/config.h
+++ b/keyboards/meson/config.h
@@ -17,17 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-
-#define MATRIX_ROW_PINS { F7, C6, F6, F5 }
-#define MATRIX_COL_PINS { D4, D7, E6, B3, B2, B6, F4 }
-
-/* COL2ROW, ROW2COL*/
-#define DIODE_DIRECTION COL2ROW
-
#define USE_I2C
-#define RGB_DI_PIN B5
-#ifdef RGB_DI_PIN
#define RGBLED_NUM 10
#define RGBLIGHT_SPLIT
#define RGBLED_SPLIT { 5, 5 }
@@ -46,7 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#endif
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/meson/info.json b/keyboards/meson/info.json
index 869a2ccb7a..41e3a6b4a2 100644
--- a/keyboards/meson/info.json
+++ b/keyboards/meson/info.json
@@ -7,9 +7,17 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "matrix_pins": {
+ "cols": ["D4", "D7", "E6", "B3", "B2", "B6", "F4"],
+ "rows": ["F7", "C6", "F6", "F5"]
+ },
+ "diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D0"
},
+ "ws2812": {
+ "pin": "B5"
+ },
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
diff --git a/keyboards/meson/meson.c b/keyboards/meson/meson.c
deleted file mode 100644
index 4b777633b1..0000000000
--- a/keyboards/meson/meson.c
+++ /dev/null
@@ -1,16 +0,0 @@
-/* Copyright 2019 Luciano M
- *
- * 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 "meson.h"