aboutsummaryrefslogtreecommitdiff
path: root/keyboards/nebula68b/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/nebula68b/config.h')
-rwxr-xr-xkeyboards/nebula68b/config.h134
1 files changed, 134 insertions, 0 deletions
diff --git a/keyboards/nebula68b/config.h b/keyboards/nebula68b/config.h
new file mode 100755
index 000000000..1c0d6db23
--- /dev/null
+++ b/keyboards/nebula68b/config.h
@@ -0,0 +1,134 @@
1/*
2Copyright 2021 Yiancar
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 0x8968
24#define PRODUCT_ID 0x5338
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Yiancar-Designs
27#define PRODUCT NEBULA68B
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33#define MATRIX_ROW_PINS { D4, D6, D7, B4, E6 }
34#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, B5, B6, C6, C7, F7, F6, F5, F4, F1, F0 }
35
36/* COL2ROW, ROW2COL*/
37#define DIODE_DIRECTION COL2ROW
38
39/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
40#define DEBOUNCE 5
41
42/* define if matrix has ghost (lacks anti-ghosting diodes) */
43// #define MATRIX_HAS_GHOST
44
45/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
46 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
47 */
48// #define GRAVE_ESC_CTRL_OVERRIDE
49
50/*
51 * Force NKRO
52 *
53 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
54 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
55 * makefile for this to work.)
56 *
57 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
58 * until the next keyboard reset.
59 *
60 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
61 * fully operational during normal computer usage.
62 *
63 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
64 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
65 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
66 * power-up.
67 *
68 */
69// #define FORCE_NKRO
70
71/* Bootmagic Lite key configuration */
72#define BOOTMAGIC_LITE_ROW 0
73#define BOOTMAGIC_LITE_COLUMN 0
74
75/* RGB options */
76
77#define RGB_DI_PIN B7
78#define DRIVER_LED_TOTAL 79
79#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 130
80#define RGB_DISABLE_WHEN_USB_SUSPENDED
81#define RGB_MATRIX_KEYPRESSES
82#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
83
84// RGB Matrix Animation modes. Explicitly enabled
85// For full list of effects, see:
86// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
87#define ENABLE_RGB_MATRIX_ALPHAS_MODS
88#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
89#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
90#define ENABLE_RGB_MATRIX_BREATHING
91#define ENABLE_RGB_MATRIX_BAND_SAT
92#define ENABLE_RGB_MATRIX_BAND_VAL
93#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
94#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
95#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
96#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
97#define ENABLE_RGB_MATRIX_CYCLE_ALL
98#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
99#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
100#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
101#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
102#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
103#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
104#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
105#define ENABLE_RGB_MATRIX_DUAL_BEACON
106#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
107#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
108#define ENABLE_RGB_MATRIX_RAINDROPS
109#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
110#define ENABLE_RGB_MATRIX_HUE_BREATHING
111#define ENABLE_RGB_MATRIX_HUE_PENDULUM
112#define ENABLE_RGB_MATRIX_HUE_WAVE
113#define ENABLE_RGB_MATRIX_PIXEL_RAIN
114#define ENABLE_RGB_MATRIX_PIXEL_FLOW
115#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
116// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
117#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
118#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
119// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
120#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
121#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
122#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
123#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
124#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
125#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
126#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
127#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
128#define ENABLE_RGB_MATRIX_SPLASH
129#define ENABLE_RGB_MATRIX_MULTISPLASH
130#define ENABLE_RGB_MATRIX_SOLID_SPLASH
131#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
132
133// // VIA lighting is handled by the keyboard-level code
134#define VIA_CUSTOM_LIGHTING_ENABLE