]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/adkb96/rev1/config.h
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
[qmk_firmware.git] / keyboards / adkb96 / rev1 / config.h
1 /*
2 Copyright 2012 Jun Wako <wakojun@gmail.com>
3 Copyright 2015 Jack Humbert
4
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 /* USB Device descriptor parameter */
20 #define VENDOR_ID       0x00a5
21 #define PRODUCT_ID      0xad96
22 #define DEVICE_VER      0x0001
23 #define MANUFACTURER    Bit Trade One
24 #define PRODUCT         ADKB96
25 #define DESCRIPTION
26
27 /* key matrix size */
28 // Rows are doubled-up
29 #define MATRIX_ROWS 12
30 #define MATRIX_COLS 8
31
32 // wiring of each half
33 #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 }
34 #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5, F4 }
35
36 #define SOFT_SERIAL_PIN D0
37
38 /* define tapping term */
39 #define TAPPING_TERM 100
40
41 /* define if matrix has ghost */
42 //#define MATRIX_HAS_GHOST
43
44 /* number of backlight levels */
45 // #define BACKLIGHT_LEVELS 3
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 /*
57 #define RGB_DI_PIN D3
58
59 #define RGBLED_NUM 12    // Number of LEDs
60 */
61 /*
62  * Feature disable options
63  *  These options are also useful to firmware size reduction.
64  */
65
66 /* disable debug print */
67 // #define NO_DEBUG
68
69 /* disable print */
70 // #define NO_PRINT
71
72 /* disable action features */
73 //#define NO_ACTION_LAYER
74 //#define NO_ACTION_TAPPING
75 //#define NO_ACTION_ONESHOT
76 //#define NO_ACTION_MACRO
77 //#define NO_ACTION_FUNCTION