2 Copyright 2018 Cole Markham
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.
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.
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/>.
19 #include "config_common.h"
21 /* USB Device descriptor parameter */
22 #define VENDOR_ID 0x1209
23 #define PRODUCT_ID 0x2328
24 #define DEVICE_VER 0x0205
25 #define MANUFACTURER K.T.E.C.
26 #define PRODUCT Staryu
27 #define DESCRIPTION 5-key macropad
34 #define DIRECT_PINS { \
41 #define RGBLED_NUM 1 // Number of LEDs
42 #define RGBLIGHT_ANIMATIONS
43 #define RGBLIGHT_LIMIT_VAL 200
45 // #define RGBLIGHT_HUE_STEP 8
46 // #define RGBLIGHT_SAT_STEP 8
47 // #define RGBLIGHT_VAL_STEP 8
48 // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
49 // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
50 // /*== all animations enable ==*/
51 // #define RGBLIGHT_ANIMATIONS
52 // /*== or choose animations ==*/
53 // #define RGBLIGHT_EFFECT_BREATHING
54 // #define RGBLIGHT_EFFECT_RAINBOW_MOOD
55 // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
56 // #define RGBLIGHT_EFFECT_SNAKE
57 // #define RGBLIGHT_EFFECT_KNIGHT
58 // #define RGBLIGHT_EFFECT_CHRISTMAS
59 // #define RGBLIGHT_EFFECT_STATIC_GRADIENT
60 // #define RGBLIGHT_EFFECT_RGB_TEST
61 // #define RGBLIGHT_EFFECT_ALTERNATING
65 #define BACKLIGHT_PINS { C2, C7, D5, D6, B0 }
66 #define BACKLIGHT_LED_COUNT 5
67 #define BACKLIGHT_LEVELS 10
68 #define BACKLIGHT_ON_STATE 1
70 /* Set 0 if debouncing isn't needed */
73 /* Bootmagic Lite key configuration */
74 #define BOOTMAGIC_LITE_ROW 0
75 #define BOOTMAGIC_LITE_COLUMN 1