2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4 Copyright 2017 F_YUUCHI
6 This program is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program. If not, see <http://www.gnu.org/licenses/>.
22 //#include QMK_KEYBOARD_CONFIG_H
23 #include "config_common.h"
25 /* USB Device descriptor parameter */
26 #define VENDOR_ID 0xFC51
27 #define PRODUCT_ID 0x0058
28 #define DEVICE_VER 0x0100
29 #define MANUFACTURER F_YUUCHI
30 #define PRODUCT Lily58
31 #define DESCRIPTION Lily58 is 6×4+5keys column-staggered split keyboard.
34 // Rows are doubled-up
35 #define MATRIX_ROWS 10
38 // wiring of each half
39 #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
40 #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
42 #define CATERINA_BOOTLOADER
44 /* define tapping term */
45 #define TAPPING_TERM 100
47 /* define if matrix has ghost */
48 //#define MATRIX_HAS_GHOST
50 /* Set 0 if debouncing isn't needed */
51 #define DEBOUNCING_DELAY 5
53 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
54 #define LOCKING_SUPPORT_ENABLE
55 /* Locking resynchronize hack */
56 #define LOCKING_RESYNC_ENABLE
58 /* key combination for command */
59 #define IS_COMMAND() ( \
60 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
66 #define RGBLED_NUM 14 // Number of LEDs
69 * Feature disable options
70 * These options are also useful to firmware size reduction.
73 /* disable debug print */
79 /* disable action features */
80 //#define NO_ACTION_LAYER
81 //#define NO_ACTION_TAPPING
82 //#define NO_ACTION_ONESHOT
83 //#define NO_ACTION_MACRO
84 //#define NO_ACTION_FUNCTION