diff options
Diffstat (limited to 'keyboards/mechbrewery/mb65s/config.h')
-rw-r--r-- | keyboards/mechbrewery/mb65s/config.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/keyboards/mechbrewery/mb65s/config.h b/keyboards/mechbrewery/mb65s/config.h new file mode 100644 index 000000000..79f202832 --- /dev/null +++ b/keyboards/mechbrewery/mb65s/config.h | |||
@@ -0,0 +1,72 @@ | |||
1 | /* Copyright 2021 MechBrewery | ||
2 | * Author: tuananhnguyen204 (https://github.com/AnthonyNguyen168) (tuananhnguyen204@gmail.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 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x4252 //BR | ||
24 | #define PRODUCT_ID 0x3635 //65 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER MechBrewery | ||
27 | #define PRODUCT MB65S | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 5 | ||
31 | #define MATRIX_COLS 16 | ||
32 | |||
33 | #define MATRIX_ROW_PINS { B7, D0, F0, F1, F4 } | ||
34 | #define MATRIX_COL_PINS { B0, B1, B2, B3, D1, D2, D3, D6, D7, B4, B6, C6, C7, F7, F6, F5 } | ||
35 | #define UNUSED_PINS | ||
36 | |||
37 | /* COL2ROW or ROW2COL */ | ||
38 | #define DIODE_DIRECTION COL2ROW | ||
39 | |||
40 | /* Debouncing reduces chatter */ | ||
41 | #define DEBOUNCE 5 | ||
42 | |||
43 | /* indicators */ | ||
44 | #define LED_CAPS_LOCK_PIN D4 | ||
45 | #define LED_PIN_ON_STATE 0 | ||
46 | |||
47 | /* number of backlight levels */ | ||
48 | #define BACKLIGHT_PIN B5 | ||
49 | #ifdef BACKLIGHT_PIN | ||
50 | #define BACKLIGHT_LEVELS 3 | ||
51 | #endif | ||
52 | |||
53 | |||
54 | #define RGB_DI_PIN E2 | ||
55 | #ifdef RGB_DI_PIN | ||
56 | #define RGBLIGHT_EFFECT_BREATHING | ||
57 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
58 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
59 | #define RGBLIGHT_EFFECT_SNAKE | ||
60 | #define RGBLIGHT_EFFECT_KNIGHT | ||
61 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
62 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
63 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
64 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
65 | #define RGBLIGHT_EFFECT_TWINKLE | ||
66 | #define RGBLED_NUM 16 | ||
67 | #define RGBLIGHT_HUE_STEP 8 | ||
68 | #define RGBLIGHT_SAT_STEP 8 | ||
69 | #define RGBLIGHT_VAL_STEP 8 | ||
70 | #define RGBLIGHT_LIMIT_VAL 240 | ||
71 | #define RGBLIGHT_SLEEP | ||
72 | #endif | ||