diff options
Diffstat (limited to 'keyboards/esca')
-rw-r--r-- | keyboards/esca/getawayvan/config.h | 6 | ||||
-rw-r--r-- | keyboards/esca/getawayvan/getawayvan.c | 17 | ||||
-rw-r--r-- | keyboards/esca/getawayvan/info.json | 8 | ||||
-rw-r--r-- | keyboards/esca/getawayvan_f042/config.h | 6 | ||||
-rw-r--r-- | keyboards/esca/getawayvan_f042/getawayvan_f042.c | 17 | ||||
-rw-r--r-- | keyboards/esca/getawayvan_f042/info.json | 8 |
6 files changed, 16 insertions, 46 deletions
diff --git a/keyboards/esca/getawayvan/config.h b/keyboards/esca/getawayvan/config.h index 08b356c839..2c76ce9c8d 100644 --- a/keyboards/esca/getawayvan/config.h +++ b/keyboards/esca/getawayvan/config.h @@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A4, A13, A10, C13, C14 } -#define MATRIX_ROW_PINS { A9, A8, A3, A5 } -#define DIODE_DIRECTION COL2ROW - #define GRAVE_ESC_CTRL_OVERRIDE #define RGBLIGHT_EFFECT_BREATHING @@ -34,7 +29,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 -#define RGB_DI_PIN B15 #define RGBLED_NUM 51 #define RGBLIGHT_HUE_STEP 20 #define RGBLIGHT_SAT_STEP 17 diff --git a/keyboards/esca/getawayvan/getawayvan.c b/keyboards/esca/getawayvan/getawayvan.c deleted file mode 100644 index ecd2bcf487..0000000000 --- a/keyboards/esca/getawayvan/getawayvan.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2021 Enrique Cabrera - * - * 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 "getawayvan.h" diff --git a/keyboards/esca/getawayvan/info.json b/keyboards/esca/getawayvan/info.json index c9ed1ff7d5..78294f441a 100644 --- a/keyboards/esca/getawayvan/info.json +++ b/keyboards/esca/getawayvan/info.json @@ -8,6 +8,14 @@ "pid": "0x0401", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A4", "A13", "A10", "C13", "C14"], + "rows": ["A9", "A8", "A3", "A5"] + }, + "diode_direction": "COL2ROW", + "ws2812": { + "pin": "B15" + }, "processor": "STM32F072", "bootloader": "stm32-dfu", "layouts": { diff --git a/keyboards/esca/getawayvan_f042/config.h b/keyboards/esca/getawayvan_f042/config.h index 08b356c839..2c76ce9c8d 100644 --- a/keyboards/esca/getawayvan_f042/config.h +++ b/keyboards/esca/getawayvan_f042/config.h @@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -#define MATRIX_COL_PINS { B11, B10, B2, B1, B0, A7, A6, A4, A13, A10, C13, C14 } -#define MATRIX_ROW_PINS { A9, A8, A3, A5 } -#define DIODE_DIRECTION COL2ROW - #define GRAVE_ESC_CTRL_OVERRIDE #define RGBLIGHT_EFFECT_BREATHING @@ -34,7 +29,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 -#define RGB_DI_PIN B15 #define RGBLED_NUM 51 #define RGBLIGHT_HUE_STEP 20 #define RGBLIGHT_SAT_STEP 17 diff --git a/keyboards/esca/getawayvan_f042/getawayvan_f042.c b/keyboards/esca/getawayvan_f042/getawayvan_f042.c deleted file mode 100644 index 6ee36ae432..0000000000 --- a/keyboards/esca/getawayvan_f042/getawayvan_f042.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2021 Enrique Cabrer - * - * 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 "getawayvan_f042.h" diff --git a/keyboards/esca/getawayvan_f042/info.json b/keyboards/esca/getawayvan_f042/info.json index d93fe2f1a1..0311159bf0 100644 --- a/keyboards/esca/getawayvan_f042/info.json +++ b/keyboards/esca/getawayvan_f042/info.json @@ -8,6 +8,14 @@ "pid": "0x0401", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["B11", "B10", "B2", "B1", "B0", "A7", "A6", "A4", "A13", "A10", "C13", "C14"], + "rows": ["A9", "A8", "A3", "A5"] + }, + "diode_direction": "COL2ROW", + "ws2812": { + "pin": "B15" + }, "processor": "STM32F042", "bootloader": "stm32-dfu", "layouts": { |