diff options
author | フィルターペーパー <76888457+filterpaper@users.noreply.github.com> | 2023-12-24 07:49:18 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-23 15:49:18 -0800 |
commit | 6510188138f74c3c2f20ff8fffd969b73923db54 (patch) | |
tree | 5f193f41eff9a79d4a83f6b24c7ff750692a223d /keyboards/kbdmania/kmac_pad/config.h | |
parent | 6f16349e93a2a0dcb62c331e36d02381fa184c60 (diff) |
Refactor: move keyboards into kbdmania folder (#22714)
Diffstat (limited to 'keyboards/kbdmania/kmac_pad/config.h')
-rw-r--r-- | keyboards/kbdmania/kmac_pad/config.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/keyboards/kbdmania/kmac_pad/config.h b/keyboards/kbdmania/kmac_pad/config.h new file mode 100644 index 0000000000..ee27565dce --- /dev/null +++ b/keyboards/kbdmania/kmac_pad/config.h @@ -0,0 +1,52 @@ +/* +Copyright 2021 talsu <talsu84@gmail.com> + +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 + + +/* key matrix size */ +#define MATRIX_ROWS 6 +#define MATRIX_COLS 4 + +/* + * Keyboard Matrix Assignments + * The KMAC uses demultiplexers for the cols, they are only included here as documentation. + * See matrix.c for more details. + */ +#define MATRIX_ROW_PINS { E2, D0, D1, D2, D3, D5 } +#define MATRIX_COL_PINS { C7, C6, B6, B5 } + +/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ +#define LOCKING_SUPPORT_ENABLE +/* Locking resynchronize hack */ +#define LOCKING_RESYNC_ENABLE + +/* + * Feature disable options + * These options are also useful to firmware size reduction. + */ + +/* disable debug print */ +//#define NO_DEBUG + +/* disable print */ +//#define NO_PRINT + +/* disable action features */ +//#define NO_ACTION_LAYER +//#define NO_ACTION_TAPPING +//#define NO_ACTION_ONESHOT |