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/>.
20 #include "config_common.h"
22 /* USB Device descriptor parameter */
23 #define VENDOR_ID 0x1209
24 #define PRODUCT_ID 0x2328
25 #define DEVICE_VER 0x0205
26 #define MANUFACTURER K.T.E.C.
27 #define PRODUCT Staryu
28 #define DESCRIPTION 5-key macropad
35 #define MATRIX_ROW_PINS { }
36 #define MATRIX_COL_PINS { D0, D1, D2, D3, D4 }
39 // from light_ws2812_config @
40 // https://github.com/kairyu/tmk_keyboard_custom/tree/master/keyboard/staryu
42 #define RGBLIGHT_ANIMATIONS
43 #define RGBLED_NUM 1 // Number of LEDs
45 /* COL2ROW or ROW2COL */
46 #define DIODE_DIRECTION COL2ROW
48 /* Set 0 if debouncing isn't needed */
49 #define DEBOUNCING_DELAY 5
52 #define BACKLIGHT_LEVELS 10
53 // #define BACKLIGHT_PIN B7
55 Backlight: C2, C7, D5, D6, B0