]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/planck/keymaps/pvc/config.h
[Keyboard] Add QMK configurator JSON for Alice PCB (#6397)
[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 #ifndef LIGHT_CONFIG_H
29 #define MATRIX_ROW_PINS { D0, D5, B5, B6 }
30 #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 }
31 #define UNUSED_PINS
32 #endif
33
34 /*
35  * MIDI options
36  */
37
38 /* Prevent use of disabled MIDI features in the keymap */
39 //#define MIDI_ENABLE_STRICT 1
40
41 /* enable basic MIDI features:
42    - MIDI notes can be sent when in Music mode is on
43 */
44 #define MIDI_BASIC
45
46 /* enable advanced MIDI features:
47    - MIDI notes can be added to the keymap
48    - Octave shift and transpose
49    - Virtual sustain, portamento, and modulation wheel
50    - etc.
51 */
52 //#define MIDI_ADVANCED
53
54 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
55 //#define MIDI_TONE_KEYCODE_OCTAVES 2
56 /*
57  * Feature disable options
58  *  These options are also useful to firmware size reduction.
59  */
60
61 /* disable debug print */
62 #ifndef NO_DEBUG
63 #  define NO_DEBUG
64 #endif
65
66 /* disable print */
67 // #ifndef NO_PRINT
68 // #  define NO_PRINT
69 // #endif
70
71 /* Only print user print statements */
72 #define USER_PRINT
73
74 #ifndef LIGHT_CONFIG_H
75 #define BACKLIGHT_BREATHING
76 #endif
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
84 #endif