]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/planck/keymaps/pvc/config.h
adds planck light keyboard
[qmk_firmware.git] / keyboards / planck / keymaps / pvc / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation, either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 */
17
18 #ifndef CONFIG_USER_H
19 #define CONFIG_USER_H
20
21 #include "config_common.h"
22
23 /* key matrix size */
24 #define MATRIX_ROWS 4
25 #define MATRIX_COLS 12
26
27 /* Planck PCB default pin-out */
28 #define MATRIX_ROW_PINS { D0, D5, B5, B6 }
29 #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 }
30 #define UNUSED_PINS
31
32 /*
33  * MIDI options
34  */
35
36 /* Prevent use of disabled MIDI features in the keymap */
37 //#define MIDI_ENABLE_STRICT 1
38
39 /* enable basic MIDI features:
40    - MIDI notes can be sent when in Music mode is on
41 */
42 #define MIDI_BASIC
43
44 /* enable advanced MIDI features:
45    - MIDI notes can be added to the keymap
46    - Octave shift and transpose
47    - Virtual sustain, portamento, and modulation wheel
48    - etc.
49 */
50 //#define MIDI_ADVANCED
51
52 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
53 //#define MIDI_TONE_KEYCODE_OCTAVES 2
54 /*
55  * Feature disable options
56  *  These options are also useful to firmware size reduction.
57  */
58
59 /* disable debug print */
60 #ifndef NO_DEBUG
61 #  define NO_DEBUG
62 #endif
63
64 /* disable print */
65 // #ifndef NO_PRINT
66 // #  define NO_PRINT
67 // #endif
68
69 /* Only print user print statements */
70 #define USER_PRINT
71
72 #define BACKLIGHT_BREATHING
73
74 /* disable action features */
75 //#define NO_ACTION_LAYER
76 //#define NO_ACTION_TAPPING
77 //#define NO_ACTION_ONESHOT
78 //#define NO_ACTION_MACRO
79 //#define NO_ACTION_FUNCTION
80 #endif