diff options
Diffstat (limited to 'keyboards/model_v/config.h')
| -rw-r--r-- | keyboards/model_v/config.h | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/keyboards/model_v/config.h b/keyboards/model_v/config.h new file mode 100644 index 000000000..847599a36 --- /dev/null +++ b/keyboards/model_v/config.h | |||
| @@ -0,0 +1,62 @@ | |||
| 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 0x6D76 | ||
| 26 | #define DEVICE_VER 0x0001 | ||
| 27 | #define MANUFACTURER Matthew Dias | ||
| 28 | #define PRODUCT model-v | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 4 | ||
| 32 | #define MATRIX_COLS 12 | ||
| 33 | |||
| 34 | /* model-v PCB default pin-out */ | ||
| 35 | #define MATRIX_ROW_PINS { D3, D5, D6, D4 } | ||
| 36 | #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, C7, C6, B6, B5, B4, D7 } | ||
| 37 | |||
| 38 | /* COL2ROW or ROW2COL */ | ||
| 39 | #define DIODE_DIRECTION COL2ROW | ||
| 40 | |||
| 41 | /* Set 0 if debouncing isn't needed */ | ||
| 42 | #define DEBOUNCE 5 | ||
| 43 | |||
| 44 | /* | ||
| 45 | * Feature disable options | ||
| 46 | * These options are also useful to firmware size reduction. | ||
| 47 | */ | ||
| 48 | |||
| 49 | /* disable debug print */ | ||
| 50 | //#define NO_DEBUG | ||
| 51 | |||
| 52 | /* disable print */ | ||
| 53 | //#define NO_PRINT | ||
| 54 | |||
| 55 | /* disable action features */ | ||
| 56 | //#define NO_ACTION_LAYER | ||
| 57 | //#define NO_ACTION_TAPPING | ||
| 58 | //#define NO_ACTION_ONESHOT | ||
| 59 | |||
| 60 | /* disable these deprecated features by default */ | ||
| 61 | #define NO_ACTION_MACRO | ||
| 62 | #define NO_ACTION_FUNCTION | ||
