2 Copyright (C) 2012-2019 Jun Wako <wakojun@gmail.com>, Maxr1998 <max.rumpf1998@gmail.com>
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 0xFEED
24 #define PRODUCT_ID 0x6060
25 #define DEVICE_VER 0x0001
26 #define MANUFACTURER Maxr1998
27 #define PRODUCT Pulse 4k
28 #define DESCRIPTION A four-key macropad
35 #define MATRIX_ROW_PINS { B4, E6 }
36 #define MATRIX_COL_PINS { B7, B3, F0 }
39 /* COL2ROW or ROW2COL */
40 #define DIODE_DIRECTION COL2ROW
42 /* Set 0 if debouncing isn't needed */
46 #define NUMBER_OF_ENCODERS 2
47 #define ENCODERS_PAD_A { D2, F6 }
48 #define ENCODERS_PAD_B { D3, F5 }
49 #define ENCODER_RESOLUTION 4
53 #define COMBO_TERM 150
56 #define RGB_DI_PIN F7 // pin the DI on the WS2812B is hooked-up to
57 #define RGBLIGHT_ANIMATIONS // run RGB animations
58 #define RGBLED_NUM 2 // number of LEDs
61 * Feature disable options
62 * These options are also useful to firmware size reduction.
65 /* disable debug print */
71 /* disable action features */
72 //#define NO_ACTION_LAYER
73 //#define NO_ACTION_TAPPING
74 //#define NO_ACTION_ONESHOT
75 //#define NO_ACTION_MACRO
76 //#define NO_ACTION_FUNCTION