diff options
author | TW59420 <40019210+TW59420@users.noreply.github.com> | 2022-02-21 14:01:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-20 22:01:31 -0800 |
commit | f7b5d67a7bfc5cbcf7e71ad5a203b34961cfc352 (patch) | |
tree | a48928e8b84c27a7e3713aaebbba6ea6fb39014d /keyboards/mwstudio/mw75r2/config.h | |
parent | 65af7272f34148d8ea8e2b75e4e463fcb607e6f2 (diff) | |
download | qmk_firmware-f7b5d67a7bfc5cbcf7e71ad5a203b34961cfc352.tar.gz qmk_firmware-f7b5d67a7bfc5cbcf7e71ad5a203b34961cfc352.zip |
[Keyboard] Add MW75R2 PCB (#15042)
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/mwstudio/mw75r2/config.h')
-rw-r--r-- | keyboards/mwstudio/mw75r2/config.h | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/keyboards/mwstudio/mw75r2/config.h b/keyboards/mwstudio/mw75r2/config.h new file mode 100644 index 000000000..4430d12a9 --- /dev/null +++ b/keyboards/mwstudio/mw75r2/config.h | |||
@@ -0,0 +1,80 @@ | |||
1 | /* Copyright 2021 TW59420 <https://github.com/TW59420> | ||
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 | |||
19 | #include "config_common.h" | ||
20 | |||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x7BA1 | ||
24 | #define PRODUCT_ID 0x7502 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER MWStudio | ||
27 | #define PRODUCT MW75R2 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 6 | ||
31 | #define MATRIX_COLS 15 | ||
32 | |||
33 | /* key matrix pins */ | ||
34 | #define MATRIX_ROW_PINS { B7, D0, D1, D2, D3, D5} | ||
35 | #define MATRIX_COL_PINS { C7, C6, B6, B5, B4, D7, D4, D6, F7, F6, E6, F0, F1, F4, F5 } | ||
36 | |||
37 | #define BOOTMAGIC_LITE_ROW 0 | ||
38 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
39 | |||
40 | /* COL2ROW or ROW2COL */ | ||
41 | #define DIODE_DIRECTION COL2ROW | ||
42 | |||
43 | /* Set 0 if debouncing isn't needed */ | ||
44 | #define DEBOUNCE 5 | ||
45 | |||
46 | #define RGB_DI_PIN B3 | ||
47 | #define RGBLIGHT_SLEEP | ||
48 | |||
49 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 | ||
50 | #define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS | ||
51 | #define DRIVER_LED_TOTAL 21 | ||
52 | #define RGBLED_NUM 21 | ||
53 | |||
54 | #define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
55 | #define ENABLE_RGB_MATRIX_BREATHING | ||
56 | #define ENABLE_RGB_MATRIX_CYCLE_ALL | ||
57 | #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
58 | #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
59 | #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
60 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
61 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
62 | #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
63 | #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
64 | #define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
65 | #define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
66 | #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
67 | #define ENABLE_RGB_MATRIX_RAINDROPS | ||
68 | #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
69 | #define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
70 | #define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
71 | #define ENABLE_RGB_MATRIX_HUE_WAVE | ||
72 | #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
73 | #define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
74 | |||
75 | #define RGBLIGHT_HUE_STEP 8 | ||
76 | #define RGBLIGHT_SAT_STEP 8 | ||
77 | #define RGBLIGHT_VAL_STEP 8 | ||
78 | |||
79 | #define ENCODERS_PAD_A { B1 } | ||
80 | #define ENCODERS_PAD_B { B2 } | ||