diff options
Diffstat (limited to 'keyboards/kona_classic')
-rw-r--r-- | keyboards/kona_classic/config.h | 13 | ||||
-rw-r--r-- | keyboards/kona_classic/info.json | 8 | ||||
-rw-r--r-- | keyboards/kona_classic/kona_classic.c | 16 |
3 files changed, 8 insertions, 29 deletions
diff --git a/keyboards/kona_classic/config.h b/keyboards/kona_classic/config.h index 4b0c193cc1..dd6631f545 100644 --- a/keyboards/kona_classic/config.h +++ b/keyboards/kona_classic/config.h @@ -17,21 +17,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once - -// ROWS: Top to bottom, COLS: Left to right -/* Row pin configuration -*/ -#define MATRIX_ROW_PINS { F1, F5, F6, F7, B6 } -/* Column pin configuration - */ -#define MATRIX_COL_PINS { F0, F4, B5, B4, D7, D6, B0, B1, B3, D2, B7, D0, D1, D3, C6, C7 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION ROW2COL - /* Underlight configuration */ -#define RGB_DI_PIN B2 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL diff --git a/keyboards/kona_classic/info.json b/keyboards/kona_classic/info.json index 6a6f996d90..37aef5bd09 100644 --- a/keyboards/kona_classic/info.json +++ b/keyboards/kona_classic/info.json @@ -8,6 +8,14 @@ "pid": "0x6060", "device_version": "0.0.3" }, + "ws2812": { + "pin": "B2" + }, + "matrix_pins": { + "cols": ["F0", "F4", "B5", "B4", "D7", "D6", "B0", "B1", "B3", "D2", "B7", "D0", "D1", "D3", "C6", "C7"], + "rows": ["F1", "F5", "F6", "F7", "B6"] + }, + "diode_direction": "ROW2COL", "processor": "atmega32u4", "bootloader": "halfkay", "layouts": { diff --git a/keyboards/kona_classic/kona_classic.c b/keyboards/kona_classic/kona_classic.c deleted file mode 100644 index af4ea06e6d..0000000000 --- a/keyboards/kona_classic/kona_classic.c +++ /dev/null @@ -1,16 +0,0 @@ -/* Copyright 2017 Mathias Andersson <wraul@dbox.se> - * - * 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 "kona_classic.h" |