[Keyboard] New Keyboard: Booster (#6486)
[jackhill/qmk/firmware.git] / keyboards / percent / booster / config.h
1 /*
2 Copyright 2019 MechMerlin
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 0xFEED
24 #define PRODUCT_ID 0x0000
25 #define DEVICE_VER 0x0001
26 #define MANUFACTURER Percent Studio
27 #define PRODUCT Booster
28 #define DESCRIPTION Custom programmable numpad
29
30 /* key matrix size */
31 #define MATRIX_ROWS 5
32 #define MATRIX_COLS 4
33
34 #define MATRIX_ROW_PINS { D1, D6, D7, B4, B5 }
35 #define MATRIX_COL_PINS { C7, D4, D2, D0 }
36
37 #define BACKLIGHT_PIN B7
38 #define BACKLIGHT_LEVELS 3
39
40 #define DIODE_DIRECTION COL2ROW
41
42 #define RGB_DI_PIN E2
43 #ifdef RGB_DI_PIN
44 #define RGBLED_NUM 10
45 #define RGBLIGHT_HUE_STEP 8
46 #define RGBLIGHT_SAT_STEP 8
47 #define RGBLIGHT_VAL_STEP 8
48 #define RGBLIGHT_LIMIT_VAL 255
49 #define RGBLIGHT_SLEEP
50 #define RGBLIGHT_ANIMATIONS
51 #endif
52