summaryrefslogtreecommitdiff
path: root/keyboards
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
parent4d72aa428fb8dc72634bded428f78ffba2284fdc (diff)
[Keymap] Fix rgb matrix effects on dshields keymaps. (#6505)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/model01/keymaps/dshields/config.h2
-rw-r--r--keyboards/model01/keymaps/dshields/keymap.c6
-rw-r--r--keyboards/planck/keymaps/dshields/config.h2
-rw-r--r--keyboards/planck/keymaps/dshields/keymap.c6
4 files changed, 14 insertions, 2 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;
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;