diff options
Diffstat (limited to 'keyboards/kapcave/gskt00')
-rwxr-xr-x | keyboards/kapcave/gskt00/config.h | 8 | ||||
-rwxr-xr-x | keyboards/kapcave/gskt00/gskt00.c | 18 | ||||
-rwxr-xr-x | keyboards/kapcave/gskt00/gskt00.h | 2 | ||||
-rw-r--r-- | keyboards/kapcave/gskt00/info.json | 5 | ||||
-rw-r--r-- | keyboards/kapcave/gskt00/keymaps/default-poly/config.h | 5 |
5 files changed, 7 insertions, 31 deletions
diff --git a/keyboards/kapcave/gskt00/config.h b/keyboards/kapcave/gskt00/config.h index 30a5aa6db2..dfeb9c44d1 100755 --- a/keyboards/kapcave/gskt00/config.h +++ b/keyboards/kapcave/gskt00/config.h @@ -16,14 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #pragma once - -/* key matrix pins */ -#define MATRIX_ROW_PINS { F1, D1, D2, D4, D6, F7, B0, F4 } -#define MATRIX_COL_PINS { F6, D7, F5, C7, B4, C6, B6, B5 } - -/* 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 diff --git a/keyboards/kapcave/gskt00/gskt00.c b/keyboards/kapcave/gskt00/gskt00.c deleted file mode 100755 index c2c2d823f9..0000000000 --- a/keyboards/kapcave/gskt00/gskt00.c +++ /dev/null @@ -1,18 +0,0 @@ -/* -Copyright 2021 KapCave - -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 "gskt00.h" - diff --git a/keyboards/kapcave/gskt00/gskt00.h b/keyboards/kapcave/gskt00/gskt00.h index d0ac51acd7..120e021ce3 100755 --- a/keyboards/kapcave/gskt00/gskt00.h +++ b/keyboards/kapcave/gskt00/gskt00.h @@ -46,7 +46,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. k30, k40, k50, k60, k00, k10, k20 \ ) { \ { k00, k01, k02, k03, k04, k05, k06, k07 }, \ - { XXX, k11, k12, k13, k14, k15, k16, k17 }, \ + { k10, k11, k12, k13, k14, k15, k16, k17 }, \ { k20, k21, XXX, k23, k24, k25, XXX, k27 }, \ { k30, k31, k32, k33, k34, k35, k36, k37 }, \ { k40, k41, k42, k43, k44, k45, k46, k47 }, \ diff --git a/keyboards/kapcave/gskt00/info.json b/keyboards/kapcave/gskt00/info.json index 94b0159176..a66772ef93 100644 --- a/keyboards/kapcave/gskt00/info.json +++ b/keyboards/kapcave/gskt00/info.json @@ -8,6 +8,11 @@ "pid": "0x6061", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F6", "D7", "F5", "C7", "B4", "C6", "B6", "B5"], + "rows": ["F1", "D1", "D2", "D4", "D6", "F7", "B0", "F4"] + }, + "diode_direction": "COL2ROW", "bootmagic": { "matrix": [3, 6] }, diff --git a/keyboards/kapcave/gskt00/keymaps/default-poly/config.h b/keyboards/kapcave/gskt00/keymaps/default-poly/config.h index 2db5749cb5..64135cabcd 100644 --- a/keyboards/kapcave/gskt00/keymaps/default-poly/config.h +++ b/keyboards/kapcave/gskt00/keymaps/default-poly/config.h @@ -19,8 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define ENCODERS_PAD_A { D5 } #define ENCODERS_PAD_B { D3 } -#define RGB_DI_PIN D0 -#ifdef RGB_DI_PIN +#define WS2812_DI_PIN D0 #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL @@ -35,5 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_HUE_STEP 10 #define RGBLIGHT_SAT_STEP 17 #define RGBLIGHT_VAL_STEP 12 -#endif - |