diff options
Diffstat (limited to 'keyboards/bpiphany/tiger_lily/config.h')
-rw-r--r-- | keyboards/bpiphany/tiger_lily/config.h | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/keyboards/bpiphany/tiger_lily/config.h b/keyboards/bpiphany/tiger_lily/config.h new file mode 100644 index 000000000..54a1c2e7f --- /dev/null +++ b/keyboards/bpiphany/tiger_lily/config.h | |||
@@ -0,0 +1,100 @@ | |||
1 | /* | ||
2 | Copyright 2012 Jun Wako <[email protected]> | ||
3 | |||
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. | ||
8 | |||
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. | ||
13 | |||
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/>. | ||
16 | */ | ||
17 | |||
18 | #pragma once | ||
19 | |||
20 | #include "config_common.h" | ||
21 | |||
22 | /* USB Device descriptor parameter */ | ||
23 | #define VENDOR_ID 0x4245 //BE | ||
24 | #define PRODUCT_ID 0x544C //TL | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER Bathroom Epiphanies | ||
27 | #define PRODUCT tiger_lily | ||
28 | |||
29 | /* | ||
30 | * Frosty Flake Rev. 20140521 made by Bathroom Ephiphanies | ||
31 | * Ported from the Bathroom Epiphanies TMK Firmware: | ||
32 | * https://github.com/BathroomEpiphanies/epiphanies_tmk_keyboard/tree/master/be_controllers | ||
33 | * | ||
34 | */ | ||
35 | |||
36 | /* key matrix size */ | ||
37 | #define MATRIX_ROWS 8 // Row0 - Row7 in the schematic | ||
38 | #define MATRIX_COLS 18 // ColA - ColR in the schematic | ||
39 | |||
40 | /* | ||
41 | * Keyboard Matrix Assignments | ||
42 | * | ||
43 | * MATRIX_ROW_PINS and MATRIX_COL_PINS aren't actually used and are included | ||
44 | * for data driven compatibility. | ||
45 | */ | ||
46 | #define MATRIX_ROW_PINS { C2, B3, B4, B2, B1, C7, B6, B5 } | ||
47 | #define MATRIX_COL_PINS { NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN } | ||
48 | #define UNUSED_PINS { B0, C4, D3 } | ||
49 | |||
50 | #define LED_NUM_LOCK_PIN C5 | ||
51 | #define LED_CAPS_LOCK_PIN C6 | ||
52 | #define LED_SCROLL_LOCK_PIN B7 | ||
53 | #define LED_PIN_ON_STATE 0 | ||
54 | |||
55 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
56 | #define DEBOUNCE 5 | ||
57 | |||
58 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
59 | #define LOCKING_SUPPORT_ENABLE | ||
60 | /* Locking resynchronize hack */ | ||
61 | #define LOCKING_RESYNC_ENABLE | ||
62 | |||
63 | /* | ||
64 | * Force NKRO | ||
65 | * | ||
66 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
67 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
68 | * makefile for this to work.) | ||
69 | * | ||
70 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
71 | * until the next keyboard reset. | ||
72 | * | ||
73 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
74 | * fully operational during normal computer usage. | ||
75 | * | ||
76 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
77 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
78 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
79 | * power-up. | ||
80 | * | ||
81 | */ | ||
82 | //#define FORCE_NKRO | ||
83 | |||
84 | /* | ||
85 | * Feature disable options | ||
86 | * These options are also useful to firmware size reduction. | ||
87 | */ | ||
88 | |||
89 | /* disable debug print */ | ||
90 | //#define NO_DEBUG | ||
91 | |||
92 | /* disable print */ | ||
93 | //#define NO_PRINT | ||
94 | |||
95 | /* disable action features */ | ||
96 | //#define NO_ACTION_LAYER | ||
97 | //#define NO_ACTION_TAPPING | ||
98 | //#define NO_ACTION_ONESHOT | ||
99 | //#define NO_ACTION_MACRO | ||
100 | //#define NO_ACTION_FUNCTION | ||