diff options
Diffstat (limited to 'keyboards/txuu/config.h')
| -rw-r--r-- | keyboards/txuu/config.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/keyboards/txuu/config.h b/keyboards/txuu/config.h new file mode 100644 index 000000000..202777a96 --- /dev/null +++ b/keyboards/txuu/config.h | |||
| @@ -0,0 +1,63 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 Matthew Dias <matthewdias@me.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | |||
| 23 | /* USB Device descriptor parameter */ | ||
| 24 | #define VENDOR_ID 0x6D64 | ||
| 25 | #define PRODUCT_ID 0x2809 | ||
| 26 | #define DEVICE_VER 0x0001 | ||
| 27 | #define MANUFACTURER Matthew Dias | ||
| 28 | #define PRODUCT txuu | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 5 | ||
| 32 | #define MATRIX_COLS 16 | ||
| 33 | |||
| 34 | /* m3n3van PCB default pin-out */ | ||
| 35 | #define MATRIX_ROW_PINS { B1, B0, F7, F4, F1 } | ||
| 36 | #define MATRIX_COL_PINS { F0, F5, F6, D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7 } | ||
| 37 | #define UNUSED_PINS { } | ||
| 38 | |||
| 39 | /* COL2ROW or ROW2COL */ | ||
| 40 | #define DIODE_DIRECTION COL2ROW | ||
| 41 | |||
| 42 | /* Set 0 if debouncing isn't needed */ | ||
| 43 | #define DEBOUNCE 5 | ||
| 44 | |||
| 45 | /* | ||
| 46 | * Feature disable options | ||
| 47 | * These options are also useful to firmware size reduction. | ||
| 48 | */ | ||
| 49 | |||
| 50 | /* disable debug print */ | ||
| 51 | //#define NO_DEBUG | ||
| 52 | |||
| 53 | /* disable print */ | ||
| 54 | //#define NO_PRINT | ||
| 55 | |||
| 56 | /* disable action features */ | ||
| 57 | //#define NO_ACTION_LAYER | ||
| 58 | //#define NO_ACTION_TAPPING | ||
| 59 | //#define NO_ACTION_ONESHOT | ||
| 60 | |||
| 61 | /* disable these deprecated features by default */ | ||
| 62 | #define NO_ACTION_MACRO | ||
| 63 | #define NO_ACTION_FUNCTION | ||
