From e44546fec268e8cb4aa648271eee52adb0a85e08 Mon Sep 17 00:00:00 2001 From: mtei <2170248+mtei@users.noreply.github.com> Date: Wed, 13 Mar 2019 16:52:22 +0900 Subject: [PATCH] Update temporary code in Helix keyboard 'five_rows' keymap to test rgblight.c --- keyboards/helix/rev2/keymaps/five_rows/rules.mk | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/keyboards/helix/rev2/keymaps/five_rows/rules.mk b/keyboards/helix/rev2/keymaps/five_rows/rules.mk index fe310e2446..5989d1d17a 100644 --- a/keyboards/helix/rev2/keymaps/five_rows/rules.mk +++ b/keyboards/helix/rev2/keymaps/five_rows/rules.mk @@ -21,6 +21,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight. SWAP_HANDS_ENABLE = no # Enable one-hand typing RGBLIGHT_SPLIT = no +RGBLIGHT_SPLIT_A = no define HELIX_CUSTOMISE_MSG $(info Helix customize) @@ -29,7 +30,8 @@ define HELIX_CUSTOMISE_MSG $(info - LED_UNDERGLOW_ENABLE=$(LED_UNDERGLOW_ENABLE)) $(info - LED_ANIMATION=$(LED_ANIMATIONS)) $(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 # Helix keyboard customize @@ -61,6 +63,9 @@ ifneq ($(strip $(HELIX)),) ifeq ($(findstring split,$(HELIX)), split) RGBLIGHT_SPLIT = yes endif + ifeq ($(findstring splita,$(HELIX)), splita) + RGBLIGHT_SPLIT_A = yes + endif ifeq ($(findstring oled,$(HELIX)), oled) OLED_ENABLE = yes endif @@ -123,6 +128,10 @@ ifeq ($(strip $(RGBLIGHT_SPLIT)), yes) OPT_DEFS += -DRGBLIGHT_SPLIT endif +ifeq ($(strip $(RGBLIGHT_SPLIT_A)), yes) + OPT_DEFS += -DRGBLIGHT_SPLIT_ANIMATION +endif + ifeq ($(strip $(LOCAL_GLCDFONT)), yes) OPT_DEFS += -DLOCAL_GLCDFONT endif