]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/helix/rev2/keymaps/led_test/rules.mk
Helix keyboard led test as a keymap (#2513)
[qmk_firmware.git] / keyboards / helix / rev2 / keymaps / led_test / rules.mk
1
2 # Build Options
3 #   change to "no" to disable the options, or define them in the Makefile in
4 #   the appropriate keymap folder that will get included automatically
5 #
6 BOOTMAGIC_ENABLE = no       # Virtual DIP switch configuration(+1000)
7 MOUSEKEY_ENABLE = no       # Mouse keys(+4700)
8 EXTRAKEY_ENABLE = no       # Audio control and System control(+450)
9 CONSOLE_ENABLE = no         # Console for debug(+400)
10 COMMAND_ENABLE = no        # Commands for debug and configuration
11 NKRO_ENABLE = no            # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
12 BACKLIGHT_ENABLE = no      # Enable keyboard backlight functionality
13 MIDI_ENABLE = no            # MIDI controls
14 AUDIO_ENABLE = no           # Audio output on port C6
15 UNICODE_ENABLE = no         # Unicode
16 BLUETOOTH_ENABLE = no       # Enable Bluetooth with the Adafruit EZ-Key HID
17 # Helix keyboard : see ./config.h: RGBLED_NUM 6 or 32
18 # Helix keyboard : RGBLIGHT_ENABLE = no or yes
19 RGBLIGHT_ENABLE = yes-but-local        # Enable WS2812 RGB underlight.  Do not enable this with audio at the same time.
20 ONEHAND_ENABLE = no        # Enable one-hand typing
21
22 # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
23 SLEEP_LED_ENABLE = no    # Breathing sleep LED during USB suspend
24
25 ifndef QUANTUM_DIR
26         include ../../../../Makefile
27 endif
28
29 #copy from common_features.mk and modify rgblight.c
30     OPT_DEFS += -DRGBLIGHT_ENABLE
31     SRC += rgblight.c
32     CIE1931_CURVE = yes
33     LED_BREATHING_TABLE = yes
34     ifeq ($(strip $(RGBLIGHT_CUSTOM_DRIVER)), yes)
35         OPT_DEFS += -DRGBLIGHT_CUSTOM_DRIVER
36     else
37          SRC += ws2812.c
38     endif