diff options
Diffstat (limited to 'keyboards/pizzakeyboards/pizza65/config.h')
| -rw-r--r-- | keyboards/pizzakeyboards/pizza65/config.h | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/keyboards/pizzakeyboards/pizza65/config.h b/keyboards/pizzakeyboards/pizza65/config.h new file mode 100644 index 000000000..039fc6826 --- /dev/null +++ b/keyboards/pizzakeyboards/pizza65/config.h | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 mmonte | ||
| 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 | /* USB Device descriptor parameter */ | ||
| 21 | #define VENDOR_ID 0x504B // PK | ||
| 22 | #define PRODUCT_ID 0x707A // PZ | ||
| 23 | #define DEVICE_VER 0x0001 | ||
| 24 | #define MANUFACTURER pizzakeyboards | ||
| 25 | #define PRODUCT pizza65 | ||
| 26 | |||
| 27 | /* key matrix size */ | ||
| 28 | #define MATRIX_ROWS 5 | ||
| 29 | #define MATRIX_COLS 16 | ||
| 30 | |||
| 31 | #define MATRIX_ROW_PINS { B15, A10, F1, A0, A1 } | ||
| 32 | #define MATRIX_COL_PINS { A9, A8, F0, A2, A3, A4, B9, B8, B7, B6, B5, B4, B3, A15, A14, A13} | ||
| 33 | #define UNUSED_PINS | ||
| 34 | |||
| 35 | #define DIODE_DIRECTION COL2ROW | ||
| 36 | |||
| 37 | #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
| 38 | |||
| 39 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 40 | #define DEBOUNCE 5 | ||
| 41 | |||
| 42 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 43 | #define LOCKING_SUPPORT_ENABLE | ||
| 44 | /* Locking resynchronize hack */ | ||
| 45 | #define LOCKING_RESYNC_ENABLE | ||
| 46 | |||
| 47 | /* disable action features */ | ||
| 48 | //#define NO_ACTION_LAYER | ||
| 49 | //#define NO_ACTION_TAPPING | ||
| 50 | //#define NO_ACTION_ONESHOT | ||
| 51 | |||
| 52 | /* disable these deprecated features by default */ | ||
| 53 | #define NO_ACTION_MACRO | ||
| 54 | #define NO_ACTION_FUNCTION | ||
| 55 | |||
| 56 | /* Bootmagic Lite key configuration */ | ||
| 57 | #define BOOTMAGIC_LITE_ROW 0 | ||
| 58 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
