From 3f9aa2189382f364a358a3899a1c0e2a85ff63bc Mon Sep 17 00:00:00 2001 From: jack Date: Tue, 8 Feb 2022 23:46:54 -0700 Subject: [PATCH 1/2] fix --- keyboards/idobao/id80/v3/config.h | 11 ++++------- keyboards/idobao/id80/v3/rules.mk | 1 + 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/keyboards/idobao/id80/v3/config.h b/keyboards/idobao/id80/v3/config.h index 06ca74a0e9b2..ed6625b6685e 100644 --- a/keyboards/idobao/id80/v3/config.h +++ b/keyboards/idobao/id80/v3/config.h @@ -62,18 +62,15 @@ along with this program. If not, see . #define DIODE_DIRECTION COL2ROW - +#undef RGB_DI_PIN #define RGB_DI_PIN B6 -# define DRIVER_LED_TOTAL 96 /* 16 Bottom 80 top*/ -#ifdef RGB_DI_PIN -# define RGBLED_NUM 96 /* 16 Bottom 80 top*/ -# define RGB_MATRIX_KEYPRESSES // reacts to keypresses -#endif #ifdef RGB_MATRIX_ENABLE +# define DRIVER_LED_TOTAL 96 /* 16 Bottom 80 top*/ # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 180 // Limit to vendor-recommended value // RGB Matrix Animation modes. Explicitly enabled // For full list of effects, see: // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects +# define RGB_MATRIX_KEYPRESSES // reacts to keypresses # define RGB_MATRIX_FRAMEBUFFER_EFFECTS # define RGB_MATRIX_KEYPRESSES # define ENABLE_RGB_MATRIX_ALPHAS_MODS @@ -108,7 +105,7 @@ along with this program. If not, see . // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined # define ENABLE_RGB_MATRIX_TYPING_HEATMAP # define ENABLE_RGB_MATRIX_DIGITAL_RAIN -// enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined +// enabled only if RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE # define ENABLE_RGB_MATRIX_SOLID_REACTIVE # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE diff --git a/keyboards/idobao/id80/v3/rules.mk b/keyboards/idobao/id80/v3/rules.mk index 49781db616e2..6805b8f0f9db 100644 --- a/keyboards/idobao/id80/v3/rules.mk +++ b/keyboards/idobao/id80/v3/rules.mk @@ -17,6 +17,7 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow AUDIO_ENABLE = no # Audio output ENCODER_ENABLE = yes +LTO_ENABLE = yes RGB_MATRIX_ENABLE = yes RGB_MATRIX_DRIVER = WS2812 From 1596a882a37e1b7faa4b50410aecbaaf3c071818 Mon Sep 17 00:00:00 2001 From: jack Date: Tue, 8 Feb 2022 23:54:30 -0700 Subject: [PATCH 2/2] another redefintion --- keyboards/idobao/id80/v3/config.h | 1 - 1 file changed, 1 deletion(-) diff --git a/keyboards/idobao/id80/v3/config.h b/keyboards/idobao/id80/v3/config.h index ed6625b6685e..4b2fb8d0567e 100644 --- a/keyboards/idobao/id80/v3/config.h +++ b/keyboards/idobao/id80/v3/config.h @@ -70,7 +70,6 @@ along with this program. If not, see . // RGB Matrix Animation modes. Explicitly enabled // For full list of effects, see: // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects -# define RGB_MATRIX_KEYPRESSES // reacts to keypresses # define RGB_MATRIX_FRAMEBUFFER_EFFECTS # define RGB_MATRIX_KEYPRESSES # define ENABLE_RGB_MATRIX_ALPHAS_MODS