[Keyboard] Move vitamins included rev1 to split_common (#7052)
[jackhill/qmk/firmware.git] / keyboards / vitamins_included / rev1 / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 #pragma once
20
21 #include "config_common.h"
22
23 #define SPLIT_USB_DETECT
24 #define NO_USB_STARTUP_CHECK
25
26 #define EE_HANDS
27 #define SOFT_SERIAL_PIN D0
28
29 /* USB Device descriptor parameters */
30 #define DEVICE_VER 0x0001
31 #define DESCRIPTION A split keyboard for the cheapish makers
32
33 /* key matrix size */
34 // Rows are doubled-up
35 #define MATRIX_ROWS 8
36 #define MATRIX_COLS 6
37
38 // wiring of each half
39 #define MATRIX_ROW_PINS { F5, F6, C7, F7 }
40 #define MATRIX_COL_PINS { F1, F4, E2, B6, D7, D6}
41
42 /* define if matrix has ghost */
43 //#define MATRIX_HAS_GHOST
44
45 /* number of backlight levels */
46 // #define BACKLIGHT_LEVELS 3
47
48 /* Set 0 if debouncing isn't needed */
49 #define DEBOUNCE 5
50
51 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
52 #define LOCKING_SUPPORT_ENABLE
53 /* Locking resynchronize hack */
54 #define LOCKING_RESYNC_ENABLE
55
56 /* ws2812 RGB LED */
57 #define RGB_DI_PIN F0
58
59 #define RGBLED_NUM 16 // Number of LEDs
60 #define RGBLIGHT_ANIMATIONS
61
62 /* Audio settings */
63 #ifdef AUDIO_ENABLE
64 #define C6_AUDIO // Define this to enable the buzzer
65 #endif
66
67 /*
68 * Feature disable options
69 * These options are also useful to firmware size reduction.
70 */
71
72 /* disable debug print */
73 // #define NO_DEBUG
74
75 /* disable print */
76 // #define NO_PRINT
77
78 /* disable action features */
79 //#define NO_ACTION_LAYER
80 //#define NO_ACTION_TAPPING
81 //#define NO_ACTION_ONESHOT
82 //#define NO_ACTION_MACRO
83 //#define NO_ACTION_FUNCTION