aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/dztech/dz65rgb
diff options
context:
space:
mode:
authormoyi4681 <moyi4681@users.noreply.github.com>2019-05-10 09:48:07 +0800
committerDrashna Jaelre <drashna@live.com>2019-05-09 18:48:07 -0700
commitbce391a663d2848bff8ffffca0e4bad771bd3890 (patch)
tree59837151307cfda19e6da1bf7b97223db664320e /keyboards/dztech/dz65rgb
parent2835a7074985f25dea9398a7ac211914c9d52fe4 (diff)
downloadfirmware-bce391a663d2848bff8ffffca0e4bad771bd3890.tar.gz
firmware-bce391a663d2848bff8ffffca0e4bad771bd3890.tar.bz2
firmware-bce391a663d2848bff8ffffca0e4bad771bd3890.zip
[Keyboard] DZTECH: CODE CLEANUP (#5828)
* Delete board.c * Delete board.h * Delete board.mk * Delete bootloader_defs.h * Delete chconf.h * Delete halconf.h * Delete mcuconf.h * Update rules.mk * Update config.h * Update config.h * Update config.h * Update config.h * Update config.h * Update rules.mk * Delete bootloader_defs.h * Delete halconf.h * Delete chconf.h * Delete mcuconf.h * Update rules.mk * Update config.h * Update dz40rgb.c * Update dz65rgb.c
Diffstat (limited to 'keyboards/dztech/dz65rgb')
-rw-r--r--keyboards/dztech/dz65rgb/dz65rgb.c10
-rw-r--r--keyboards/dztech/dz65rgb/rules.mk2
2 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/dztech/dz65rgb/dz65rgb.c b/keyboards/dztech/dz65rgb/dz65rgb.c
index e14943d97..932d3f68b 100644
--- a/keyboards/dztech/dz65rgb/dz65rgb.c
+++ b/keyboards/dztech/dz65rgb/dz65rgb.c
@@ -94,11 +94,21 @@ led_config_t g_led_config = { {
4, 4, 4, 4, 1, 1, 1, 1
} };
+void matrix_init_kb(void) {
+ matrix_init_user();
+}
+void matrix_scan_kb(void) {
+ matrix_scan_user();
+}
+bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
+ return process_record_user(keycode, record);
+}
void suspend_power_down_kb(void)
{
rgb_matrix_set_suspend_state(true);
suspend_power_down_user();
}
+
void suspend_wakeup_init_kb(void)
{
rgb_matrix_set_suspend_state(false);
diff --git a/keyboards/dztech/dz65rgb/rules.mk b/keyboards/dztech/dz65rgb/rules.mk
index 7dc3bd969..bf392b4fa 100644
--- a/keyboards/dztech/dz65rgb/rules.mk
+++ b/keyboards/dztech/dz65rgb/rules.mk
@@ -1,4 +1,6 @@
MCU = STM32F303
+DFU_ARGS = -d 0483:df11 -a 0 -s 0x08000000:leave
+DFU_SUFFIX_ARGS = -p DF11 -v 0483
BACKLIGHT_ENABLE = no
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
MOUSEKEY_ENABLE = yes # Mouse keys