diff options
Diffstat (limited to 'keyboards/bpiphany/unloved_bastard/config.h')
-rw-r--r-- | keyboards/bpiphany/unloved_bastard/config.h | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/keyboards/bpiphany/unloved_bastard/config.h b/keyboards/bpiphany/unloved_bastard/config.h new file mode 100644 index 000000000..a6589be4a --- /dev/null +++ b/keyboards/bpiphany/unloved_bastard/config.h | |||
@@ -0,0 +1,93 @@ | |||
1 | /* | ||
2 | Copyright 2018 Alexander Fougner <fougner89 at gmail.com> | ||
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 0xFEED | ||
24 | #define PRODUCT_ID 0x1337 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER BathroomEpiphanies | ||
27 | #define PRODUCT Unloved Bastard | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 8 | ||
31 | #define MATRIX_COLS 18 | ||
32 | |||
33 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
34 | #define DEBOUNCE 5 | ||
35 | |||
36 | #define LED_NUM_LOCK_PIN B7 | ||
37 | #define LED_CAPS_LOCK_PIN C5 | ||
38 | #define LED_SCROLL_LOCK_PIN C6 | ||
39 | #define LED_PIN_ON_STATE 0 | ||
40 | |||
41 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
42 | //#define MATRIX_HAS_GHOST | ||
43 | |||
44 | /* number of backlight levels */ | ||
45 | |||
46 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
47 | #define LOCKING_SUPPORT_ENABLE | ||
48 | /* Locking resynchronize hack */ | ||
49 | #define LOCKING_RESYNC_ENABLE | ||
50 | |||
51 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
52 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
53 | */ | ||
54 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
55 | |||
56 | /* | ||
57 | * Force NKRO | ||
58 | * | ||
59 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
60 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
61 | * makefile for this to work.) | ||
62 | * | ||
63 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
64 | * until the next keyboard reset. | ||
65 | * | ||
66 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
67 | * fully operational during normal computer usage. | ||
68 | * | ||
69 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
70 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
71 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
72 | * power-up. | ||
73 | * | ||
74 | */ | ||
75 | //#define FORCE_NKRO | ||
76 | |||
77 | /* | ||
78 | * Feature disable options | ||
79 | * These options are also useful to firmware size reduction. | ||
80 | */ | ||
81 | |||
82 | /* disable debug print */ | ||
83 | //#define NO_DEBUG | ||
84 | |||
85 | /* disable print */ | ||
86 | //#define NO_PRINT | ||
87 | |||
88 | /* disable action features */ | ||
89 | //#define NO_ACTION_LAYER | ||
90 | //#define NO_ACTION_TAPPING | ||
91 | //#define NO_ACTION_ONESHOT | ||
92 | //#define NO_ACTION_MACRO | ||
93 | //#define NO_ACTION_FUNCTION | ||