summaryrefslogtreecommitdiffstats
path: root/keyboards/planck
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/planck
parent4d72aa428fb8dc72634bded428f78ffba2284fdc (diff)
[Keymap] Fix rgb matrix effects on dshields keymaps. (#6505)
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/keymaps/dshields/config.h2
-rw-r--r--keyboards/planck/keymaps/dshields/keymap.c6
2 files changed, 7 insertions, 1 deletions
diff --git a/keyboards/planck/keymaps/dshields/config.h b/keyboards/planck/keymaps/dshields/config.h
index 7f9cf74672..8d90d0d2ce 100644
--- a/keyboards/planck/keymaps/dshields/config.h
+++ b/keyboards/planck/keymaps/dshields/config.h
@@ -1,6 +1,6 @@
#pragma once
-#define RGB_MATRIX_KEYPRESSES
+#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_DIGITAL_RAIN_DROPS 24
#define USB_MAX_POWER_CONSUMPTION 100
#define ONESHOT_TAP_TOGGLE 2
diff --git a/keyboards/planck/keymaps/dshields/keymap.c b/keyboards/planck/keymaps/dshields/keymap.c
index 11abaa6b07..18e246a3ea 100644
--- a/keyboards/planck/keymaps/dshields/keymap.c
+++ b/keyboards/planck/keymaps/dshields/keymap.c
@@ -43,6 +43,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
)
};
+/*
+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;