aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bastardkb/scylla/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bastardkb/scylla/config.h')
-rw-r--r--keyboards/bastardkb/scylla/config.h105
1 files changed, 105 insertions, 0 deletions
diff --git a/keyboards/bastardkb/scylla/config.h b/keyboards/bastardkb/scylla/config.h
new file mode 100644
index 000000000..d876b5d01
--- /dev/null
+++ b/keyboards/bastardkb/scylla/config.h
@@ -0,0 +1,105 @@
1/*
2 * Copyright 2021 Quentin LEBASTARD <[email protected]>
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#include "config_common.h"
20#define VENDOR_ID 0xA8F8
21#define PRODUCT_ID 0x1829
22#define DEVICE_VER 0x0001
23#define MANUFACTURER Bastard Keyboards
24#define PRODUCT Scylla
25
26#define MATRIX_ROWS 10
27#define MATRIX_COLS 6
28#define DIODE_DIRECTION ROW2COL
29#define MATRIX_ROW_PINS { D7, B5, F7, F6, B6 }
30#define MATRIX_COL_PINS { B4, E6, C6, B1, B3, B2 }
31
32#define RGB_DI_PIN D2
33#define RGBLED_NUM 58
34#define RGBLED_SPLIT { 29, 29 }
35#define RGBLIGHT_LIMIT_VAL 120
36#define RGBLIGHT_ANIMATIONS
37#define DEBOUNCE 5
38#define SOFT_SERIAL_PIN D0
39#define MASTER_RIGHT
40
41#ifdef RGBLIGHT_ENABLE
42# define RGBLED_NUM 58
43# define RGBLED_SPLIT { 29, 29 }
44# define RGBLIGHT_LIMIT_VAL 50
45# define RGBLIGHT_ANIMATIONS
46#endif
47
48// RGB matrix support
49#ifdef RGB_MATRIX_ENABLE
50# define SPLIT_TRANSPORT_MIRROR
51# define DRIVER_LED_TOTAL 58 // Number of LEDs
52# define RGB_MATRIX_SPLIT { 29, 29 }
53# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
54# define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
55# define RGB_DISABLE_WHEN_USB_SUSPENDED
56# define RGB_MATRIX_KEYPRESSES
57// RGB Matrix Animation modes. Explicitly enabled
58// For full list of effects, see:
59// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
60# define ENABLE_RGB_MATRIX_ALPHAS_MODS
61# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
62# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
63# define ENABLE_RGB_MATRIX_BREATHING
64# define ENABLE_RGB_MATRIX_BAND_SAT
65# define ENABLE_RGB_MATRIX_BAND_VAL
66# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
67# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
68# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
69# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
70# define ENABLE_RGB_MATRIX_CYCLE_ALL
71# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
72# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
73# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
74# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
75# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
76# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
77# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
78# define ENABLE_RGB_MATRIX_DUAL_BEACON
79# define ENABLE_RGB_MATRIX_RAINBOW_BEACON
80# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
81# define ENABLE_RGB_MATRIX_RAINDROPS
82# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
83# define ENABLE_RGB_MATRIX_HUE_BREATHING
84# define ENABLE_RGB_MATRIX_HUE_PENDULUM
85# define ENABLE_RGB_MATRIX_HUE_WAVE
86# define ENABLE_RGB_MATRIX_PIXEL_RAIN
87# define ENABLE_RGB_MATRIX_PIXEL_FLOW
88# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
89// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
90# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
91# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
92// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
93# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
94# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
95# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
96# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
97# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
98# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
99# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
100# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
101# define ENABLE_RGB_MATRIX_SPLASH
102# define ENABLE_RGB_MATRIX_MULTISPLASH
103# define ENABLE_RGB_MATRIX_SOLID_SPLASH
104# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
105#endif