summaryrefslogtreecommitdiff
path: root/keyboards/model01/keymaps/dshields
diff options
context:
space:
mode:
authorDaniel Shields <daniel.shields@bcs.org>2019-08-08 21:21:55 +0100
committerDrashna Jaelre <drashna@live.com>2019-08-08 13:21:54 -0700
commitb4c03070de81bdcf1b20822e56d44dbba8e64a20 (patch)
tree7af29ba4cfbe87a84d53d4daf719ed795d1ace81 /keyboards/model01/keymaps/dshields
parent4d72aa428fb8dc72634bded428f78ffba2284fdc (diff)
downloadqmk_firmware-b4c03070de81bdcf1b20822e56d44dbba8e64a20.tar.gz
qmk_firmware-b4c03070de81bdcf1b20822e56d44dbba8e64a20.zip
[Keymap] Fix rgb matrix effects on dshields keymaps. (#6505)
Diffstat (limited to 'keyboards/model01/keymaps/dshields')
-rw-r--r--keyboards/model01/keymaps/dshields/config.h2
-rw-r--r--keyboards/model01/keymaps/dshields/keymap.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/model01/keymaps/dshields/config.h b/keyboards/model01/keymaps/dshields/config.h
index 1c78217f2f..0896a1f45e 100644
--- a/keyboards/model01/keymaps/dshields/config.h
+++ b/keyboards/model01/keymaps/dshields/config.h
@@ -1,6 +1,6 @@
#pragma once
-#define RGB_MATRIX_KEYPRESSES
+#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_DIGITAL_RAIN_DROPS 18
#define USB_MAX_POWER_CONSUMPTION 100
#define ONESHOT_TAP_TOGGLE 2
diff --git a/keyboards/model01/keymaps/dshields/keymap.c b/keyboards/model01/keymaps/dshields/keymap.c
index 3a89d062b5..dedfd69b48 100644
--- a/keyboards/model01/keymaps/dshields/keymap.c
+++ b/keyboards/model01/keymaps/dshields/keymap.c
@@ -44,6 +44,12 @@ uint32_t layer_state_set_user(uint32_t state) {
return state;
}
+/*
+void matrix_init_user(void) {
+ eeconfig_init();
+};
+*/
+
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (!process_record_dynamic_macro(keycode, record)) {
return false;