diff options
Diffstat (limited to 'keyboards/kapcave/paladinpad/config.h')
| -rw-r--r-- | keyboards/kapcave/paladinpad/config.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/keyboards/kapcave/paladinpad/config.h b/keyboards/kapcave/paladinpad/config.h new file mode 100644 index 000000000..9b3c9a4ca --- /dev/null +++ b/keyboards/kapcave/paladinpad/config.h | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2021 KapCave | ||
| 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 | #pragma once | ||
| 18 | |||
| 19 | #include "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0x4B43 | ||
| 23 | #define PRODUCT_ID 0x5050 | ||
| 24 | #define MANUFACTURER KapCave | ||
| 25 | #define PRODUCT paladinpad | ||
| 26 | |||
| 27 | /* key matrix size */ | ||
| 28 | #define MATRIX_ROWS 5 | ||
| 29 | #define MATRIX_COLS 4 | ||
| 30 | |||
| 31 | /* COL2ROW or ROW2COL */ | ||
| 32 | #define DIODE_DIRECTION COL2ROW | ||
| 33 | |||
| 34 | /* number of backlight levels */ | ||
| 35 | |||
| 36 | #ifdef BACKLIGHT_PIN | ||
| 37 | #define BACKLIGHT_LEVELS 3 | ||
| 38 | #endif | ||
| 39 | |||
| 40 | /* Set 0 if debouncing isn't needed */ | ||
| 41 | #define DEBOUNCE 5 | ||
| 42 | |||
| 43 | /* prevent stuck modifiers */ | ||
| 44 | #define PREVENT_STUCK_MODIFIERS | ||
| 45 | |||
| 46 | |||
