2 Copyright 2012 Jun Wako <wakojun@gmail.com>
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.
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.
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/>.
21 #include "config_common.h"
25 #define MATRIX_COLS 12
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 }
32 /* COL2ROW or ROW2COL */
33 #define DIODE_DIRECTION COL2ROW
35 /* define if matrix has ghost */
36 //#define MATRIX_HAS_GHOST
38 /* number of backlight levels */
39 #define BACKLIGHT_LEVELS 3
41 /* Set 0 if debouncing isn't needed */
42 #define DEBOUNCING_DELAY 5
44 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
45 #define LOCKING_SUPPORT_ENABLE
46 /* Locking resynchronize hack */
47 #define LOCKING_RESYNC_ENABLE
49 /* key combination for command */
50 #define IS_COMMAND() ( \
51 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
54 #define BACKLIGHT_PIN B7
55 #define BACKLIGHT_BREATHING
58 * Feature disable options
59 * These options are also useful to firmware size reduction.
62 /* disable debug print */
72 /* Only print user print statements */
76 /* disable action features */
77 //#define NO_ACTION_LAYER
78 //#define NO_ACTION_TAPPING
79 //#define NO_ACTION_ONESHOT
80 //#define NO_ACTION_MACRO
81 //#define NO_ACTION_FUNCTION