diff options
Diffstat (limited to 'keyboards/sergiopoverony/creator_pro/config.h')
| -rw-r--r-- | keyboards/sergiopoverony/creator_pro/config.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/keyboards/sergiopoverony/creator_pro/config.h b/keyboards/sergiopoverony/creator_pro/config.h new file mode 100644 index 000000000..3bf7efc77 --- /dev/null +++ b/keyboards/sergiopoverony/creator_pro/config.h | |||
| @@ -0,0 +1,49 @@ | |||
| 1 | /* Copyright 2020-2021 SergioPoverony | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | #include "config_common.h" | ||
| 19 | |||
| 20 | /* vid pid */ | ||
| 21 | #define VENDOR_ID 0x8B1E | ||
| 22 | #define PRODUCT_ID 0x0C00 | ||
| 23 | #define DEVICE_VER 0x0001 | ||
| 24 | #define MANUFACTURER SergioPoverony | ||
| 25 | #define PRODUCT Creator Pro | ||
| 26 | |||
| 27 | |||
| 28 | /* key matrix size pins */ | ||
| 29 | #define MATRIX_ROWS 1 | ||
| 30 | #define MATRIX_COLS 9 | ||
| 31 | #define DIRECT_PINS { \ | ||
| 32 | { D1, D4, C6, D7, \ | ||
| 33 | E6, \ | ||
| 34 | B2, B3, B1, F7 } \ | ||
| 35 | } | ||
| 36 | |||
| 37 | |||
| 38 | /*led layout indication pins*/ | ||
| 39 | #define RED_LED D0 | ||
| 40 | #define BLUE_LED B5 | ||
| 41 | #define GREEN_LED B6 | ||
| 42 | |||
| 43 | /* encoder pins*/ | ||
| 44 | #define ENCODERS_PAD_A { D2 } | ||
| 45 | #define ENCODERS_PAD_B { D3 } | ||
| 46 | #define ENCODER_RESOLUTION 1 | ||
| 47 | |||
| 48 | #define UNUSED_PINS | ||
| 49 | |||
