]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/scarletbandana/config.h
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
[qmk_firmware.git] / keyboards / scarletbandana / config.h
1 /*
2 Copyright 2019 Cole Markham
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      0x6969
25 #define DEVICE_VER      0x0001
26 #define MANUFACTURER    WoodKeys.click
27 #define PRODUCT         Scarlet Bandana Version IV mark.2
28 #define DESCRIPTION     65% with macro keys
29
30 /* key matrix size */
31 #define MATRIX_ROWS 5
32 #define MATRIX_COLS 17
33
34 /* COL2ROW, ROW2COL*/
35 #define DIODE_DIRECTION ROW2COL
36
37 #ifdef RGBLIGHT_ENABLE
38 #define RGB_DI_PIN D3
39 #define RGBLIGHT_ANIMATIONS
40 #define RGBLED_NUM 8    // Number of LEDs
41 #endif
42
43 #define MATRIX_ROW_PINS { D4, D6, D7, B4, B5 }
44 #define MATRIX_COL_PINS { B2, B3, B7, B1, F5, F4, F6, F7, B0, F0, F1, D0, D1, D2, D5, B6, C7 }
45
46 #define QMK_SPEAKER C6
47
48 #ifdef AUDIO_ENABLE
49 #define C6_AUDIO
50 #define STARTUP_SONG SONG(PREONIC_SOUND)
51 // Disable music mode to keep the firmware size down
52 #define NO_MUSIC_MODE
53 #endif
54
55 #define NO_ACTION_MACRO
56 #define NO_ACTION_FUNCTION
57
58 #define DEBOUNCE 5