[Keymap] Fix rgb matrix effects on dshields keymaps. (#6505)

This commit is contained in:
Daniel Shields 2019-08-08 21:21:55 +01:00 committed by Drashna Jaelre
parent 4d72aa428f
commit b4c03070de
4 changed files with 14 additions and 2 deletions

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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;