From 1f41c7e87d85809e336383c54e384543f5f62015 Mon Sep 17 00:00:00 2001 From: honorless <86894501+lesshonor@users.noreply.github.com> Date: Tue, 27 Jun 2023 09:02:30 -0400 Subject: [PATCH] fix: cut features from boardsource/lulu/avr --- .../boardsource/lulu/keymaps/vial/config.h | 5 +++++ .../boardsource/lulu/keymaps/vial/rules.mk | 19 ++++++++++++------- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/keyboards/boardsource/lulu/keymaps/vial/config.h b/keyboards/boardsource/lulu/keymaps/vial/config.h index 65a6bdb9c0..3ce29e5a53 100644 --- a/keyboards/boardsource/lulu/keymaps/vial/config.h +++ b/keyboards/boardsource/lulu/keymaps/vial/config.h @@ -5,3 +5,8 @@ #define VIAL_KEYBOARD_UID {0xAB, 0x22, 0x68, 0x8B, 0x59, 0xD0, 0x81, 0x11} #define VIAL_UNLOCK_COMBO_ROWS { 0, 0 } #define VIAL_UNLOCK_COMBO_COLS { 0, 1 } + +#if defined(__AVR_ATmega32U4__) + #undef ENABLE_RGB_MATRIX_BAND_SAT + #undef ENABLE_RGB_MATRIX_BAND_VAL +#endif diff --git a/keyboards/boardsource/lulu/keymaps/vial/rules.mk b/keyboards/boardsource/lulu/keymaps/vial/rules.mk index 351a30e1b6..51fa8e5556 100644 --- a/keyboards/boardsource/lulu/keymaps/vial/rules.mk +++ b/keyboards/boardsource/lulu/keymaps/vial/rules.mk @@ -1,10 +1,15 @@ VIA_ENABLE = yes VIAL_ENABLE = yes -QMK_SETTINGS = no -COMBO_ENABLE = no -MOUSEKEY_ENABLE = no -TAP_DANCE_ENABLE = no + VIALRGB_ENABLE = yes -VIAL_ENCODERS_ENABLE = yes -SPACE_CADET_ENABLE = no -GRAVE_ESC_ENABLE = no + +ifeq ($(strip $(MCU)), atmega32u4) + QMK_SETTINGS = no + COMBO_ENABLE = no + MOUSEKEY_ENABLE = no + TAP_DANCE_ENABLE = no + SPACE_CADET_ENABLE = no + GRAVE_ESC_ENABLE = no + KEY_OVERRIDE_ENABLE = no + MAGIC_ENABLE = no +endif