···11+/* Copyright 2020 DZTECH <moyi4681@live.cn>
22+ *
33+ * This program is free software: you can redistribute it and/or modify
44+ * it under the terms of the GNU General Public License as published by
55+ * the Free Software Foundation, either version 2 of the License, or
66+ * (at your option) any later version.
77+ *
88+ * This program is distributed in the hope that it will be useful,
99+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
1010+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1111+ * GNU General Public License for more details.
1212+ *
1313+ * You should have received a copy of the GNU General Public License
1414+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
1515+ */
1616+#pragma once
1717+1818+#ifdef RGB_MATRIX_ENABLE
1919+# define RGB_MATRIX_LED_PROCESS_LIMIT 4
2020+# define RGB_MATRIX_LED_FLUSH_LIMIT 26
2121+# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
2222+# define RGB_MATRIX_KEYPRESSES
2323+// RGB Matrix Animation modes. Explicitly enabled
2424+// For full list of effects, see:
2525+// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
2626+# define ENABLE_RGB_MATRIX_ALPHAS_MODS
2727+// # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
2828+# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
2929+# define ENABLE_RGB_MATRIX_BREATHING
3030+// # define ENABLE_RGB_MATRIX_BAND_SAT
3131+# define ENABLE_RGB_MATRIX_BAND_VAL
3232+// # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
3333+# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
3434+// # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
3535+# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
3636+# define ENABLE_RGB_MATRIX_CYCLE_ALL
3737+# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
3838+# define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
3939+# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
4040+# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
4141+# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
4242+# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
4343+# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
4444+# define ENABLE_RGB_MATRIX_DUAL_BEACON
4545+# define ENABLE_RGB_MATRIX_RAINBOW_BEACON
4646+# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
4747+# define ENABLE_RGB_MATRIX_RAINDROPS
4848+# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
4949+# define ENABLE_RGB_MATRIX_HUE_BREATHING
5050+# define ENABLE_RGB_MATRIX_HUE_PENDULUM
5151+# define ENABLE_RGB_MATRIX_HUE_WAVE
5252+# define ENABLE_RGB_MATRIX_PIXEL_RAIN
5353+# define ENABLE_RGB_MATRIX_PIXEL_FLOW
5454+# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
5555+// enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
5656+# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
5757+// # define ENABLE_RGB_MATRIX_DIGITAL_RAIN
5858+// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
5959+# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
6060+# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
6161+// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
6262+// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
6363+// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
6464+// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
6565+// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
6666+// # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
6767+// # define ENABLE_RGB_MATRIX_SPLASH
6868+// # define ENABLE_RGB_MATRIX_MULTISPLASH
6969+# define ENABLE_RGB_MATRIX_SOLID_SPLASH
7070+// # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
7171+# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
7272+# define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL
7373+# define DRIVER_ADDR_1 0b1110100
7474+# define DRIVER_ADDR_2 0b1110111
7575+# define DRIVER_COUNT 2
7676+# define DRIVER_1_LED_TOTAL 35
7777+# define DRIVER_2_LED_TOTAL 33
7878+# define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
7979+#endif
···11+# DZ65RGB V2
22+33+A customizable 65% RGB keyboard.
44+55+* Keyboard Maintainer: [moyi4681](https://github.com/moyi4681)
66+* Hardware Supported: DZ65RGB V2
77+* Hardware Availability: [KBDfans](https://kbdfans.com/)
88+99+## Making firmware
1010+1111+Make example for this keyboard (after setting up your build environment):
1212+1313+ make dztech/dz65rgb/v2:default
1414+1515+See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
1616+
+13
qmk/dztech_dz65rgb_v2/source/rules.mk
···11+# Build Options
22+# change yes to no to disable
33+#
44+BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
55+MOUSEKEY_ENABLE = yes # Mouse keys
66+EXTRAKEY_ENABLE = yes # Audio control and System control
77+CONSOLE_ENABLE = no # Console for debug
88+COMMAND_ENABLE = no # Commands for debug and configuration
99+NKRO_ENABLE = yes # Enable N-Key Rollover
1010+BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
1111+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
1212+AUDIO_ENABLE = no # Audio output
1313+RGB_MATRIX_ENABLE = yes # Use RGB matrix