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.
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.
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/>.
18 #include "config_common.h"
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
30 #define MATRIX_COLS 14
33 * Keyboard Matrix Assignments
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)
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 }
46 /* COL2ROW, ROW2COL, or CUSTOM_MATRIX */
47 #define DIODE_DIRECTION COL2ROW
49 // #define BACKLIGHT_PIN F5
50 // #define BACKLIGHT_LEVELS 6
52 /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
53 #define DEBOUNCING_DELAY 5
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
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
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)