diff options
Diffstat (limited to 'keyboards/adkb96/rev1/config.h')
-rw-r--r-- | keyboards/adkb96/rev1/config.h | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/keyboards/adkb96/rev1/config.h b/keyboards/adkb96/rev1/config.h new file mode 100644 index 000000000..c5b768721 --- /dev/null +++ b/keyboards/adkb96/rev1/config.h | |||
@@ -0,0 +1,78 @@ | |||
1 | /* | ||
2 | Copyright 2012 Jun Wako <[email protected]> | ||
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 | |||
26 | /* key matrix size */ | ||
27 | // Rows are doubled-up | ||
28 | #define MATRIX_ROWS 12 | ||
29 | #define MATRIX_COLS 8 | ||
30 | |||
31 | // wiring of each half | ||
32 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4, B5 } | ||
33 | #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5, F4 } | ||
34 | |||
35 | #define DIODE_DIRECTION COL2ROW | ||
36 | |||
37 | #define SOFT_SERIAL_PIN D0 | ||
38 | |||
39 | /* define tapping term */ | ||
40 | #define TAPPING_TERM 100 | ||
41 | |||
42 | /* define if matrix has ghost */ | ||
43 | //#define MATRIX_HAS_GHOST | ||
44 | |||
45 | /* number of backlight levels */ | ||
46 | // #define BACKLIGHT_LEVELS 3 | ||
47 | |||
48 | /* Set 0 if debouncing isn't needed */ | ||
49 | #define DEBOUNCE 5 | ||
50 | |||
51 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
52 | #define LOCKING_SUPPORT_ENABLE | ||
53 | /* Locking resynchronize hack */ | ||
54 | #define LOCKING_RESYNC_ENABLE | ||
55 | |||
56 | /* ws2812 RGB LED */ | ||
57 | /* | ||
58 | #define RGB_DI_PIN D3 | ||
59 | |||
60 | #define RGBLED_NUM 12 // Number of LEDs | ||
61 | */ | ||
62 | /* | ||
63 | * Feature disable options | ||
64 | * These options are also useful to firmware size reduction. | ||
65 | */ | ||
66 | |||
67 | /* disable debug print */ | ||
68 | // #define NO_DEBUG | ||
69 | |||
70 | /* disable print */ | ||
71 | // #define NO_PRINT | ||
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 | ||