diff options
Diffstat (limited to 'keyboards/boston_meetup/2019')
-rw-r--r-- | keyboards/boston_meetup/2019/2019.c | 2 | ||||
-rw-r--r-- | keyboards/boston_meetup/2019/2019.h | 19 | ||||
-rw-r--r-- | keyboards/boston_meetup/2019/config.h | 29 | ||||
-rw-r--r-- | keyboards/boston_meetup/2019/info.json | 8 |
4 files changed, 9 insertions, 49 deletions
diff --git a/keyboards/boston_meetup/2019/2019.c b/keyboards/boston_meetup/2019/2019.c index e558048f6a..1097c58de2 100644 --- a/keyboards/boston_meetup/2019/2019.c +++ b/keyboards/boston_meetup/2019/2019.c @@ -13,7 +13,7 @@ * 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 "2019.h" +#include "quantum.h" #ifdef RGB_MATRIX_ENABLE #include "rgb_matrix.h" diff --git a/keyboards/boston_meetup/2019/2019.h b/keyboards/boston_meetup/2019/2019.h deleted file mode 100644 index fbba5c3154..0000000000 --- a/keyboards/boston_meetup/2019/2019.h +++ /dev/null @@ -1,19 +0,0 @@ -/* Copyright 2019 ishtob - * - * 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/>. - */ -#pragma once - -#include "boston_meetup.h" - diff --git a/keyboards/boston_meetup/2019/config.h b/keyboards/boston_meetup/2019/config.h index 00e8648df8..d609409cb5 100644 --- a/keyboards/boston_meetup/2019/config.h +++ b/keyboards/boston_meetup/2019/config.h @@ -1,22 +1,5 @@ #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) - * -*/ - -#undef MATRIX_ROW_PINS -#undef MATRIX_COL_PINS - -#define MATRIX_ROW_PINS { A3, B8, B9, B1 } -#define MATRIX_COL_PINS { A7, A8, B2, B10 } - //Audio #undef AUDIO_VOICES #undef AUDIO_PIN @@ -38,17 +21,6 @@ #define OLED_UPDATE_INTERVAL 33 // ~30fps /* - * 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) - * -*/ - -/* * Feature disable options * These options are also useful to firmware size reduction. */ @@ -125,7 +97,6 @@ #define RGBLIGHT_EFFECT_TWINKLE #define RGBLED_NUM 10 -#define RGB_DI_PIN B5 #define RGB_MATRIX_LED_COUNT RGBLED_NUM #define RGB_MATRIX_KEYPRESSES diff --git a/keyboards/boston_meetup/2019/info.json b/keyboards/boston_meetup/2019/info.json index 22f54c3472..609a917b75 100644 --- a/keyboards/boston_meetup/2019/info.json +++ b/keyboards/boston_meetup/2019/info.json @@ -2,11 +2,19 @@ "usb": { "device_version": "20.1.9" }, + "matrix_pins": { + "cols": ["A7", "A8", "B2", "B10"], + "rows": ["A3", "B8", "B9", "B1"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "B13", "pin_b": "B14"} ] }, + "ws2812": { + "pin": "B5" + }, "processor": "STM32F303", "bootloader": "stm32-dfu", "board": "QMK_PROTON_C", |