aboutsummaryrefslogtreecommitdiff
path: root/keyboards/studiokestra/cascade/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/studiokestra/cascade/config.h')
-rw-r--r--keyboards/studiokestra/cascade/config.h84
1 files changed, 84 insertions, 0 deletions
diff --git a/keyboards/studiokestra/cascade/config.h b/keyboards/studiokestra/cascade/config.h
new file mode 100644
index 000000000..88b2a583c
--- /dev/null
+++ b/keyboards/studiokestra/cascade/config.h
@@ -0,0 +1,84 @@
1/*
2Copyright 2021 Studio Kestra
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 0x7C10
24#define PRODUCT_ID 0x6001
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Studio Kestra
27#define PRODUCT Cascade
28
29#define MATRIX_ROWS 5
30#define MATRIX_COLS 14
31
32#define MATRIX_ROW_PINS { F0, B1, D4, F4, F1 }
33#define MATRIX_COL_PINS { E6, D5, D1, D0, F5, F6, F7, C7, C6, B6, B5, B4, D6, D7 }
34
35/* COL2ROW, ROW2COL*/
36#define DIODE_DIRECTION COL2ROW
37
38
39#define RGB_DI_PIN B0
40#ifdef RGB_DI_PIN
41 #define RGBLED_NUM 16
42 #define RGBLIGHT_HUE_STEP 8
43 #define RGBLIGHT_SAT_STEP 8
44 #define RGBLIGHT_VAL_STEP 8
45 #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
46 #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
47/*== all animations enable ==*/
48 #define RGBLIGHT_ANIMATIONS
49// /*== or choose animations ==*/
50// #define RGBLIGHT_EFFECT_BREATHING
51// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
52// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
53// #define RGBLIGHT_EFFECT_SNAKE
54// #define RGBLIGHT_EFFECT_KNIGHT
55// #define RGBLIGHT_EFFECT_CHRISTMAS
56// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
57// #define RGBLIGHT_EFFECT_RGB_TEST
58// #define RGBLIGHT_EFFECT_ALTERNATING
59// /*== customize breathing effect ==*/
60// /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/
61 #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64
62// /*==== use exp() and sin() ====*/
63// #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7
64// #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255
65#endif
66
67/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
68#define DEBOUNCE 5
69
70/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
71#define LOCKING_SUPPORT_ENABLE
72/* Locking resynchronize hack */
73#define LOCKING_RESYNC_ENABLE
74
75/* disable action features */
76//#define NO_ACTION_LAYER
77//#define NO_ACTION_TAPPING
78//#define NO_ACTION_ONESHOT
79//#define NO_ACTION_MACRO
80//#define NO_ACTION_FUNCTION
81
82/* Bootmagic Lite key configuration */
83#define BOOTMAGIC_LITE_ROW 0
84#define BOOTMAGIC_LITE_COLUMN 0