]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/boardwalk/config.h
[Keyboard] leds in default keymap (#6357)
[qmk_firmware.git] / keyboards / boardwalk / config.h
1 /*
2 This program is free software: you can redistribute it and/or modify
3 it under the terms of the GNU General Public License as published by
4 the Free Software Foundation, either version 2 of the License, or
5 (at your option) any later version.
6
7 This program is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 GNU General Public License for more details.
11
12 You should have received a copy of the GNU General Public License
13 along with this program.  If not, see <http://www.gnu.org/licenses/>.
14 */
15
16 #pragma once
17
18 #include "config_common.h"
19
20 /* USB Device descriptor parameter */
21 #define VENDOR_ID       0xCDCD
22 #define PRODUCT_ID      0x5337
23 #define DEVICE_VER      0x0001
24 #define MANUFACTURER    shens
25 #define PRODUCT         Boardwalk
26 #define DESCRIPTION     QMK keyboard firmware for Boardwalk
27
28 /* key matrix size */
29 #define MATRIX_ROWS 5
30 #define MATRIX_COLS 14
31
32 /*
33  * Keyboard Matrix Assignments
34  *
35  * Change this to how you wired your keyboard
36  * COLS: AVR pins used for columns, left to right
37  * ROWS: AVR pins used for rows, top to bottom
38  * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
39  *                  ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
40  *
41 */
42 #define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 }
43 #define MATRIX_COL_PINS { F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, D1, D0 }
44 #define UNUSED_PINS
45
46 /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
47 #define DIODE_DIRECTION COL2ROW
48
49 // #define BACKLIGHT_PIN F5
50 // #define BACKLIGHT_LEVELS 6
51
52 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
53 #define DEBOUNCE 5
54
55 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
56 #define LOCKING_SUPPORT_ENABLE
57 /* Locking resynchronize hack */
58 #define LOCKING_RESYNC_ENABLE
59
60 /*
61  * Feature disable options
62  *  These options are also useful to firmware size reduction.
63  */
64
65 /* disable debug print */
66 //#define NO_DEBUG
67
68 /* disable print */
69 //#define NO_PRINT
70
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
77
78 // ws2812 options
79 #define RGB_DI_PIN B7 // pin the DI on the ws2812 is hooked-up to
80 #define RGBLIGHT_ANIMATIONS // run RGB animations
81 #define RGBLED_NUM 14 // number of LEDs
82 #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
83 #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
84 #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)