]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/planck/keymaps/zrichard/config.h
Update readme.md (#5647)
[qmk_firmware.git] / keyboards / planck / keymaps / zrichard / 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
24 /* key matrix size */
25 #define MATRIX_ROWS 4
26 #define MATRIX_COLS 12
27
28 /* Planck PCB default pin-out */
29 #ifndef LIGHT_CONFIG_H
30 #define MATRIX_ROW_PINS { D0, D5, B5, B6 }
31 #define MATRIX_COL_PINS { F1, F0, B0, C7, F4, F5, F6, F7, D4, D6, B4, D7 }
32 #define UNUSED_PINS
33 #endif
34
35 /* Prevent use of disabled MIDI features in the keymap */
36 //#define MIDI_ENABLE_STRICT 1
37
38 /* enable basic MIDI features:
39    - MIDI notes can be sent when in Music mode is on
40 */
41 #define MIDI_BASIC
42
43 /* enable advanced MIDI features:
44    - MIDI notes can be added to the keymap
45    - Octave shift and transpose
46    - Virtual sustain, portamento, and modulation wheel
47    - etc.
48 */
49 //#define MIDI_ADVANCED
50
51 /*
52  * Feature disable options
53  *  These options are also useful to firmware size reduction.
54  */
55
56 /* disable debug print */
57 #ifndef NO_DEBUG
58 #  define NO_DEBUG
59 #endif
60
61 /* disable print */
62 // #ifndef NO_PRINT
63 // #  define NO_PRINT
64 // #endif
65
66 /* Only print user print statements */
67 #define USER_PRINT
68
69 #ifndef LIGHT_CONFIG_H
70 #define BACKLIGHT_BREATHING
71 #endif
72
73 /* disable action features */
74 //#define NO_ACTION_LAYER
75 //#define NO_ACTION_TAPPING
76 //#define NO_ACTION_ONESHOT
77 //#define NO_ACTION_MACRO
78 //#define NO_ACTION_FUNCTION
79
80 #endif