aboutsummaryrefslogtreecommitdiff
path: root/keyboards/boardwalk/config.h
diff options
context:
space:
mode:
authorNick Christus <136611+nchristus@users.noreply.github.com>2019-02-25 19:24:11 -0600
committerDrashna Jaelre <drashna@live.com>2019-02-25 17:24:11 -0800
commit5838c458d74b6a4af6c65a9d6cdf346db999e980 (patch)
treee885125dfc2289056cd71730102d0ad456eeb799 /keyboards/boardwalk/config.h
parentf019cd12a5c88ae50db97e996dd0d6b476b75d77 (diff)
downloadqmk_firmware-5838c458d74b6a4af6c65a9d6cdf346db999e980.tar.gz
qmk_firmware-5838c458d74b6a4af6c65a9d6cdf346db999e980.zip
[Keyboard] Added Boardwalk keyboard (#5195)
* initial commit * removed key for fn layer * added missing row, misc cleanup * added nchristus keymap, more misc cleanup * Updating ergo60.h, rules * Adding McAllaster keymap * added a bunch of keymaps * added LED code * added userspace * ls vitamins keymap * added Boardwalk keyboard * boardwalk: removed unrelated files * boardwalk: undoing tkc1800 change * boardwalk: undoing tkc1800 change * nchristus keymap cleanup * boardwalk: updates per PR feedback * boardwalk: updated bootloader * boardwalk: additional updates from PR review
Diffstat (limited to 'keyboards/boardwalk/config.h')
-rw-r--r--keyboards/boardwalk/config.h84
1 files changed, 84 insertions, 0 deletions
diff --git a/keyboards/boardwalk/config.h b/keyboards/boardwalk/config.h
new file mode 100644
index 000000000..67352b80d
--- /dev/null
+++ b/keyboards/boardwalk/config.h
@@ -0,0 +1,84 @@
1/*
2This program is free software: you can redistribute it and/or modify
3it under the terms of the GNU General Public License as published by
4the Free Software Foundation, either version 2 of the License, or
5(at your option) any later version.
6
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11
12You should have received a copy of the GNU General Public License
13along 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 DEBOUNCING_DELAY 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)