]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/lily58/rev1/config.h
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
[qmk_firmware.git] / keyboards / lily58 / rev1 / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4 Copyright 2017 F_YUUCHI
5
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.
10
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.
15
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/>.
18 */
19
20 #pragma once
21
22 /* USB Device descriptor parameter */
23 #define VENDOR_ID       0xFC51
24 #define PRODUCT_ID      0x0058 
25 #define DEVICE_VER      0x0100
26 #define MANUFACTURER    F_YUUCHI
27 #define PRODUCT         Lily58
28 #define DESCRIPTION     Lily58 is 6×4+5keys column-staggered split keyboard.
29
30 /* key matrix size */
31 // Rows are doubled-up
32 #define MATRIX_ROWS 10
33 #define MATRIX_COLS 6
34
35 // wiring of each half
36 #define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
37 #define MATRIX_COL_PINS { F6, F7, B1, B3, B2, B6 }
38
39 #define CATERINA_BOOTLOADER
40
41 /* define tapping term */
42 #define TAPPING_TERM 100
43
44 /* define if matrix has ghost */
45 //#define MATRIX_HAS_GHOST
46
47 /* Set 0 if debouncing isn't needed */
48 #define DEBOUNCE 5
49
50 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
51 //#define LOCKING_SUPPORT_ENABLE
52 /* Locking resynchronize hack */
53 //#define LOCKING_RESYNC_ENABLE
54
55 /* ws2812 RGB LED */
56 #define RGB_DI_PIN D3
57 #define RGBLED_NUM 12    // Number of LEDs
58
59 /*
60  * Feature disable options
61  *  These options are also useful to firmware size reduction.
62  */
63
64 /* disable debug print */
65 // #define NO_DEBUG
66
67 /* disable print */
68 // #define NO_PRINT
69
70 /* disable action features */
71 //#define NO_ACTION_LAYER
72 //#define NO_ACTION_TAPPING
73 //#define NO_ACTION_ONESHOT
74 //#define NO_ACTION_MACRO
75 //#define NO_ACTION_FUNCTION