Update temporary code in Helix keyboard 'five_rows' keymap to test rgblight.c

pull/5020/head
mtei 6 years ago
parent d4722ea537
commit e44546fec2

@ -21,6 +21,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
SWAP_HANDS_ENABLE = no # Enable one-hand typing SWAP_HANDS_ENABLE = no # Enable one-hand typing
RGBLIGHT_SPLIT = no RGBLIGHT_SPLIT = no
RGBLIGHT_SPLIT_A = no
define HELIX_CUSTOMISE_MSG define HELIX_CUSTOMISE_MSG
$(info Helix customize) $(info Helix customize)
@ -29,7 +30,8 @@ define HELIX_CUSTOMISE_MSG
$(info - LED_UNDERGLOW_ENABLE=$(LED_UNDERGLOW_ENABLE)) $(info - LED_UNDERGLOW_ENABLE=$(LED_UNDERGLOW_ENABLE))
$(info - LED_ANIMATION=$(LED_ANIMATIONS)) $(info - LED_ANIMATION=$(LED_ANIMATIONS))
$(info - IOS_DEVICE_ENABLE=$(IOS_DEVICE_ENABLE)) $(info - IOS_DEVICE_ENABLE=$(IOS_DEVICE_ENABLE))
$(info - IOS_DEVICE_ENABLE=$(RGBLIGHT_SPLIT)) $(info - RGBLIGHT_SPLIT=$(RGBLIGHT_SPLIT))
$(info - RGBLIGHT_SPLIT_A=$(RGBLIGHT_SPLIT_A))
endef endef
# Helix keyboard customize # Helix keyboard customize
@ -61,6 +63,9 @@ ifneq ($(strip $(HELIX)),)
ifeq ($(findstring split,$(HELIX)), split) ifeq ($(findstring split,$(HELIX)), split)
RGBLIGHT_SPLIT = yes RGBLIGHT_SPLIT = yes
endif endif
ifeq ($(findstring splita,$(HELIX)), splita)
RGBLIGHT_SPLIT_A = yes
endif
ifeq ($(findstring oled,$(HELIX)), oled) ifeq ($(findstring oled,$(HELIX)), oled)
OLED_ENABLE = yes OLED_ENABLE = yes
endif endif
@ -123,6 +128,10 @@ ifeq ($(strip $(RGBLIGHT_SPLIT)), yes)
OPT_DEFS += -DRGBLIGHT_SPLIT OPT_DEFS += -DRGBLIGHT_SPLIT
endif endif
ifeq ($(strip $(RGBLIGHT_SPLIT_A)), yes)
OPT_DEFS += -DRGBLIGHT_SPLIT_ANIMATION
endif
ifeq ($(strip $(LOCAL_GLCDFONT)), yes) ifeq ($(strip $(LOCAL_GLCDFONT)), yes)
OPT_DEFS += -DLOCAL_GLCDFONT OPT_DEFS += -DLOCAL_GLCDFONT
endif endif

Loading…
Cancel
Save