mechwild/murphpad feature modifications (#239)

* Adjusted default featureset

Enable mousekeys, combos, disable some advanced and uncommon features
for macropads

* feat: reenable features for non-AVR MCUs
This commit is contained in:
Less/Rikki 2022-09-14 23:11:27 -04:00 committed by GitHub
parent b696419d31
commit 48d0296d66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 34 additions and 11 deletions

View file

@ -14,15 +14,31 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* Saving space by including fewer RGB Animations */
#undef RGBLIGHT_ANIMATIONS
#if defined(__AVR_ATmega32U4__)
#undef LOCKING_SUPPORT_ENABLE
#undef LOCKING_RESYNC_ENABLE
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
/* Saving space by including fewer RGB Animations */
#undef RGBLIGHT_ANIMATIONS
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#else
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_CHRISTMAS
#define RGBLIGHT_EFFECT_KNIGHT
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_SNAKE
#define RGBLIGHT_EFFECT_STATIC_GRADIENT
#define RGBLIGHT_EFFECT_TWINKLE
#endif
/* VIAL Specific definitions */
#define VIAL_KEYBOARD_UID {0x3B, 0x87, 0xE1, 0xE7, 0x57, 0x30, 0x78, 0x13}
#define VIAL_UNLOCK_COMBO_ROWS { 0, 0 }
#define VIAL_UNLOCK_COMBO_COLS { 1, 4 }
#define VIAL_UNLOCK_COMBO_COLS { 1, 4 }

View file

@ -2,7 +2,14 @@ VIA_ENABLE = yes
LTO_ENABLE = yes
VIAL_ENABLE = yes
ENCODER_MAP_ENABLE = yes
MOUSEKEY_ENABLE = no
QMK_SETTINGS = no
COMBOS_ENABLE = no
TAP_DANCE_ENABLE = no
MOUSEKEY_ENABLE = yes
COMBOS_ENABLE = yes
ifeq ($(strip $(MCU)), atmega32u4)
QMK_SETTINGS = no
TAP_DANCE_ENABLE = no
KEY_OVERRIDE_ENABLE = no
GRAVE_ESC_ENABLE = no
SPACE_CADET_ENABLE = no
MAGIC_ENABLE = no
endif