diff options
author | QMK Bot <hello@qmk.fm> | 2022-11-30 23:31:14 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2022-11-30 23:31:14 +0000 |
commit | 9c320bc5585c2aeb45d2909a0716595341482619 (patch) | |
tree | 3a8df9ff3bd0d13c39fcc4a0db9212c6fea01738 /keyboards/horrortroll/caticorn/config.h | |
parent | 9ebd6eacd51419bc40db63c9e07d7df35ab7dcce (diff) | |
parent | e9d5967a93f789a87701c6123a73ecbd8dc7050b (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/horrortroll/caticorn/config.h')
-rw-r--r-- | keyboards/horrortroll/caticorn/config.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/keyboards/horrortroll/caticorn/config.h b/keyboards/horrortroll/caticorn/config.h new file mode 100644 index 0000000000..bef1b690ab --- /dev/null +++ b/keyboards/horrortroll/caticorn/config.h @@ -0,0 +1,38 @@ +/* Copyright 2022 HorrorTroll <https://github.com/HorrorTroll> + * + * 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 "config_common.h" + +/* key matrix size */ +#define MATRIX_ROWS 6 +#define MATRIX_COLS 17 + +/* key matrix pins */ +#define MATRIX_ROW_PINS \ + { GP7, GP0, GP8, GP25, GP11, GP12 } +#define MATRIX_COL_PINS \ + { GP6, GP5, GP4, GP3, GP2, GP1, GP20, GP21, GP16, GP17, GP18, GP19, GP15, GP14, GP13, GP10, GP9 } + +#define BOOTMAGIC_LITE_ROW 0 +#define BOOTMAGIC_LITE_COLUMN 0 + +/* COL2ROW or ROW2COL */ +#define DIODE_DIRECTION COL2ROW + +/* Set 0 if debouncing isn't needed */ +#define DEBOUNCE 5 |