diff options
Diffstat (limited to 'keyboards/boardwalk/config.h')
-rw-r--r-- | keyboards/boardwalk/config.h | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/keyboards/boardwalk/config.h b/keyboards/boardwalk/config.h new file mode 100644 index 000000000..b98b70973 --- /dev/null +++ b/keyboards/boardwalk/config.h | |||
@@ -0,0 +1,83 @@ | |||
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 shensmobile | ||
25 | #define PRODUCT Boardwalk | ||
26 | |||
27 | /* key matrix size */ | ||
28 | #define MATRIX_ROWS 5 | ||
29 | #define MATRIX_COLS 14 | ||
30 | |||
31 | /* | ||
32 | * Keyboard Matrix Assignments | ||
33 | * | ||
34 | * Change this to how you wired your keyboard | ||
35 | * COLS: AVR pins used for columns, left to right | ||
36 | * ROWS: AVR pins used for rows, top to bottom | ||
37 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
38 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
39 | * | ||
40 | */ | ||
41 | #define MATRIX_ROW_PINS { F0, F1, F4, F5, F6 } | ||
42 | #define MATRIX_COL_PINS { F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, D1, D0 } | ||
43 | #define UNUSED_PINS | ||
44 | |||
45 | /* COL2ROW, ROW2COL */ | ||
46 | #define DIODE_DIRECTION COL2ROW | ||
47 | |||
48 | // #define BACKLIGHT_PIN F5 | ||
49 | // #define BACKLIGHT_LEVELS 6 | ||
50 | |||
51 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
52 | #define DEBOUNCE 5 | ||
53 | |||
54 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
55 | #define LOCKING_SUPPORT_ENABLE | ||
56 | /* Locking resynchronize hack */ | ||
57 | #define LOCKING_RESYNC_ENABLE | ||
58 | |||
59 | /* | ||
60 | * Feature disable options | ||
61 | * These options are also useful to firmware size reduction. | ||
62 | */ | ||
63 | |||
64 | /* disable debug print */ | ||
65 | //#define NO_DEBUG | ||
66 | |||
67 | /* disable print */ | ||
68 | //#define NO_PRINT | ||
69 | |||
70 | /* disable action features */ | ||
71 | //#define NO_ACTION_LAYER | ||
72 | //#define NO_ACTION_TAPPING | ||
73 | //#define NO_ACTION_ONESHOT | ||
74 | //#define NO_ACTION_MACRO | ||
75 | //#define NO_ACTION_FUNCTION | ||
76 | |||
77 | // ws2812 options | ||
78 | #define RGB_DI_PIN B7 // pin the DI on the ws2812 is hooked-up to | ||
79 | #define RGBLIGHT_ANIMATIONS // run RGB animations | ||
80 | #define RGBLED_NUM 14 // number of LEDs | ||
81 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | ||
82 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation | ||
83 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | ||