diff options
author | Daniel Shields <daniel.shields@bcs.org> | 2019-08-08 21:21:55 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-08-08 13:21:54 -0700 |
commit | b4c03070de81bdcf1b20822e56d44dbba8e64a20 (patch) | |
tree | 7af29ba4cfbe87a84d53d4daf719ed795d1ace81 /keyboards/planck/keymaps | |
parent | 4d72aa428fb8dc72634bded428f78ffba2284fdc (diff) | |
download | qmk_firmware-b4c03070de81bdcf1b20822e56d44dbba8e64a20.tar.gz qmk_firmware-b4c03070de81bdcf1b20822e56d44dbba8e64a20.zip |
[Keymap] Fix rgb matrix effects on dshields keymaps. (#6505)
Diffstat (limited to 'keyboards/planck/keymaps')
-rw-r--r-- | keyboards/planck/keymaps/dshields/config.h | 2 | ||||
-rw-r--r-- | keyboards/planck/keymaps/dshields/keymap.c | 6 |
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; |