aboutsummaryrefslogtreecommitdiff
path: root/keyboards/boardsource/holiday/spooky/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/boardsource/holiday/spooky/config.h')
-rw-r--r--keyboards/boardsource/holiday/spooky/config.h133
1 files changed, 133 insertions, 0 deletions
diff --git a/keyboards/boardsource/holiday/spooky/config.h b/keyboards/boardsource/holiday/spooky/config.h
new file mode 100644
index 000000000..92eb4c32a
--- /dev/null
+++ b/keyboards/boardsource/holiday/spooky/config.h
@@ -0,0 +1,133 @@
1/*
2Copyright 2020 boardsource
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along 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 0x4273
24#define PRODUCT_ID 0x1031
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Boardsource
27#define PRODUCT spooky
28
29/* key matrix size */
30#define MATRIX_ROWS 2
31#define MATRIX_COLS 3
32
33#define DIRECT_PINS { {E6,B4,B5}, {B3,B2,B6}}
34
35#define RGB_DI_PIN D3
36#define RGBLIGHT_ANIMATIONS
37#ifdef RGBLIGHT_ENABLE
38#define RGBLED_NUM 5 // Number of LEDs
39#endif
40
41
42//#define BACKLIGHT_PIN B7
43//#define BACKLIGHT_LEVELS 3
44//#define BACKLIGHT_BREATHING
45
46//#define RGB_DI_PIN E2
47//#ifdef RGB_DI_PIN
48//# define RGBLED_NUM 16
49//# define RGBLIGHT_HUE_STEP 8
50//# define RGBLIGHT_SAT_STEP 8
51//# define RGBLIGHT_VAL_STEP 8
52//# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
53//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
54/*== all animations enable ==*/
55//# define RGBLIGHT_ANIMATIONS
56/*== or choose animations ==*/
57//# define RGBLIGHT_EFFECT_BREATHING
58//# define RGBLIGHT_EFFECT_RAINBOW_MOOD
59//# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
60//# define RGBLIGHT_EFFECT_SNAKE
61//# define RGBLIGHT_EFFECT_KNIGHT
62//# define RGBLIGHT_EFFECT_CHRISTMAS
63//# define RGBLIGHT_EFFECT_STATIC_GRADIENT
64//# define RGBLIGHT_EFFECT_RGB_TEST
65//# define RGBLIGHT_EFFECT_ALTERNATING
66/*== customize breathing effect ==*/
67/*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
68//# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
69/*==== use exp() and sin() ====*/
70//# define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
71//# define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
72//#endif
73
74/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
75#define DEBOUNCE 5
76
77/* define if matrix has ghost (lacks anti-ghosting diodes) */
78//#define MATRIX_HAS_GHOST
79
80/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
81#define LOCKING_SUPPORT_ENABLE
82/* Locking resynchronize hack */
83#define LOCKING_RESYNC_ENABLE
84
85/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
86 * This is useful for the Windows task manager shortcut (ctrl+shift+esc).
87 */
88//#define GRAVE_ESC_CTRL_OVERRIDE
89
90/*
91 * Force NKRO
92 *
93 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
94 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
95 * makefile for this to work.)
96 *
97 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
98 * until the next keyboard reset.
99 *
100 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
101 * fully operational during normal computer usage.
102 *
103 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
104 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
105 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
106 * power-up.
107 *
108 */
109//#define FORCE_NKRO
110
111/*
112 * Feature disable options
113 * These options are also useful to firmware size reduction.
114 */
115
116/* disable debug print */
117//#define NO_DEBUG
118
119/* disable print */
120//#define NO_PRINT
121
122/* disable action features */
123//#define NO_ACTION_LAYER
124//#define NO_ACTION_TAPPING
125//#define NO_ACTION_ONESHOT
126
127/* disable these deprecated features by default */
128#define NO_ACTION_MACRO
129#define NO_ACTION_FUNCTION
130
131/* Bootmagic Lite key configuration */
132//#define BOOTMAGIC_LITE_ROW 0
133//#define BOOTMAGIC_LITE_COLUMN 0