diff options
Diffstat (limited to 'keyboards/sets3n/kk980')
-rw-r--r-- | keyboards/sets3n/kk980/config.h | 21 | ||||
-rw-r--r-- | keyboards/sets3n/kk980/info.json | 5 | ||||
-rw-r--r-- | keyboards/sets3n/kk980/kk980.c | 17 |
3 files changed, 5 insertions, 38 deletions
diff --git a/keyboards/sets3n/kk980/config.h b/keyboards/sets3n/kk980/config.h index bd71fdfc2f..734cdcc7ae 100644 --- a/keyboards/sets3n/kk980/config.h +++ b/keyboards/sets3n/kk980/config.h @@ -16,25 +16,6 @@ #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) - * - */ - -/* key matrix pins */ -#define MATRIX_ROW_PINS { B2, B3, D3, D4, D5, D6 } -#define MATRIX_COL_PINS { E6, F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, B1, B0, D0, D1 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE @@ -53,7 +34,6 @@ #define RGBLIGHT_EFFECT_TWINKLE #define RGB_DI_PIN B7 -#ifdef RGB_DI_PIN #define RGBLED_NUM 102 #define RGBLIGHT_LED_MAP { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,\ 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, \ @@ -69,7 +49,6 @@ #define RGBLIGHT_LIMIT_VAL 230 #define RGBLIGHT_LAYERS #define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF -#endif #ifdef RGB_MATRIX_ENABLE #define RGB_MATRIX_LED_COUNT RGBLED_NUM diff --git a/keyboards/sets3n/kk980/info.json b/keyboards/sets3n/kk980/info.json index d4132bf736..4705096576 100644 --- a/keyboards/sets3n/kk980/info.json +++ b/keyboards/sets3n/kk980/info.json @@ -8,6 +8,11 @@ "pid": "0x0002", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["E6", "F0", "F1", "F4", "F5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "B1", "B0", "D0", "D1"], + "rows": ["B2", "B3", "D3", "D4", "D5", "D6"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { diff --git a/keyboards/sets3n/kk980/kk980.c b/keyboards/sets3n/kk980/kk980.c deleted file mode 100644 index d5254b3fc0..0000000000 --- a/keyboards/sets3n/kk980/kk980.c +++ /dev/null @@ -1,17 +0,0 @@ -/* Copyright 2021 Sets3n - * - * 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 "kk980.h" |