aboutsummaryrefslogtreecommitdiff
path: root/keyboards/owlab/spring/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/owlab/spring/config.h')
-rw-r--r--keyboards/owlab/spring/config.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/keyboards/owlab/spring/config.h b/keyboards/owlab/spring/config.h
new file mode 100644
index 000000000..d4eef1e02
--- /dev/null
+++ b/keyboards/owlab/spring/config.h
@@ -0,0 +1,68 @@
1/*
2Copyright 2021 OwLab
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 0x4F53 //0x4F53 for OwLab
24#define PRODUCT_ID 0x5350 //0x514B SP for Spring
25#define DEVICE_VER 0x0001
26#define MANUFACTURER OwLab
27#define PRODUCT Spring
28
29
30/* key matrix size */
31#define MATRIX_ROWS 5
32#define MATRIX_COLS 15
33
34/* Keyboard Matrix Assignments */
35#define MATRIX_ROW_PINS { B0, B7, D0, D1, D2 }
36#define MATRIX_COL_PINS { D5, D4, D6, D7, B4, B5, B6, C6, C7, F4, F7, F6, F5, F1, F0 }
37/* COL2ROW, ROW2COL */
38#define DIODE_DIRECTION COL2ROW
39
40/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
41#define DEBOUNCE 5
42
43/* NKRO */
44#define FORCE_NKRO
45
46/* RGB Strip*/
47#define RGB_DI_PIN D3
48#ifdef RGB_DI_PIN
49# define RGBLIGHT_EFFECT_BREATHING
50# define RGBLIGHT_EFFECT_RAINBOW_MOOD
51# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
52# define RGBLIGHT_EFFECT_SNAKE
53# define RGBLIGHT_EFFECT_KNIGHT
54# define RGBLIGHT_EFFECT_CHRISTMAS
55# define RGBLIGHT_EFFECT_STATIC_GRADIENT
56# define RGBLIGHT_EFFECT_RGB_TEST
57# define RGBLIGHT_EFFECT_ALTERNATING
58# define RGBLIGHT_EFFECT_TWINKLE
59# define RGBLED_NUM 8
60# define RGBLIGHT_HUE_STEP 8
61# define RGBLIGHT_SAT_STEP 8
62# define RGBLIGHT_VAL_STEP 10
63# define RGBLIGHT_LIMIT_VAL 255
64# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
65# define RGBLIGHT_DEFAULT_VAL RGBLIGHT_LIMIT_VAL/2
66#endif
67
68