aboutsummaryrefslogtreecommitdiff
path: root/keyboards/doro67/rgb/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/doro67/rgb/config.h')
-rw-r--r--keyboards/doro67/rgb/config.h121
1 files changed, 121 insertions, 0 deletions
diff --git a/keyboards/doro67/rgb/config.h b/keyboards/doro67/rgb/config.h
new file mode 100644
index 000000000..b2d26b29a
--- /dev/null
+++ b/keyboards/doro67/rgb/config.h
@@ -0,0 +1,121 @@
1/*
2Copyright 2019 MechMerlin
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 0x4250 // BP for Backprop
24#define PRODUCT_ID 0x5247 // RG for RGB
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Backprop Studio
27#define PRODUCT Doro67 RGB PCB
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42*/
43#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
44#define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 }
45#define UNUSED_PINS
46
47/* COL2ROW, ROW2COL*/
48#define DIODE_DIRECTION COL2ROW
49
50#define LED_CAPS_LOCK_PIN E6
51#define LED_PIN_ON_STATE 0
52
53// The pin connected to the data pin of the LEDs
54#define RGB_DI_PIN B7
55// The number of LEDs connected
56#define DRIVER_LED_TOTAL 67
57
58#define RGB_MATRIX_KEYPRESSES
59// RGB Matrix Animation modes. Explicitly enabled
60// For full list of effects, see:
61// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
62#define ENABLE_RGB_MATRIX_ALPHAS_MODS
63#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
64#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
65#define ENABLE_RGB_MATRIX_BREATHING
66#define ENABLE_RGB_MATRIX_BAND_SAT
67#define ENABLE_RGB_MATRIX_BAND_VAL
68#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
69#define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
70#define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
71#define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
72#define ENABLE_RGB_MATRIX_CYCLE_ALL
73#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
74#define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
75#define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
76#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
77#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
78#define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
79#define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
80#define ENABLE_RGB_MATRIX_DUAL_BEACON
81#define ENABLE_RGB_MATRIX_RAINBOW_BEACON
82#define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
83#define ENABLE_RGB_MATRIX_RAINDROPS
84#define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
85#define ENABLE_RGB_MATRIX_HUE_BREATHING
86#define ENABLE_RGB_MATRIX_HUE_PENDULUM
87#define ENABLE_RGB_MATRIX_HUE_WAVE
88#define ENABLE_RGB_MATRIX_PIXEL_RAIN
89#define ENABLE_RGB_MATRIX_PIXEL_FLOW
90#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
91// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
92#define ENABLE_RGB_MATRIX_TYPING_HEATMAP
93#define ENABLE_RGB_MATRIX_DIGITAL_RAIN
94// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
95#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
96#define ENABLE_RGB_MATRIX_SOLID_REACTIVE
97#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
98#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
99#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
100#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
101#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
102#define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
103#define ENABLE_RGB_MATRIX_SPLASH
104#define ENABLE_RGB_MATRIX_MULTISPLASH
105#define ENABLE_RGB_MATRIX_SOLID_SPLASH
106#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
107
108/*
109 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
110 */
111#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
112
113#define RGBLED_NUM 67
114
115/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
116#define DEBOUNCE 5
117
118/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
119#define LOCKING_SUPPORT_ENABLE
120/* Locking resynchronize hack */
121#define LOCKING_RESYNC_ENABLE