]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/zygomorph/keymaps/kageurufu/rules.mk
[Keyboard] Adding RGBKB Zygomorph Keyboard (#5841)
[qmk_firmware.git] / keyboards / zygomorph / keymaps / kageurufu / rules.mk
1 # Build Options
2 #   change to "no" to disable the options, or define them in the Makefile in
3 #   the appropriate keymap folder that will get included automatically
4 #
5
6 MOUSEKEY_ENABLE = no        # Mouse keys
7 EXTRAKEY_ENABLE = yes       # Audio control and System control
8 CONSOLE_ENABLE = yes        # Console for debug
9 COMMAND_ENABLE = no         # Commands for debug and configuration
10 NKRO_ENABLE = no            # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
11 RGBLIGHT_ENABLE = yes       # Enable global lighting effects. Do not enable with RGB Matrix
12 RGBLIGHT_ANIMATIONS = yes   # LED animations
13 RGBLIGHT_SPLIT_ENABLE = no  # Split RGBLight Support
14 RGB_MATRIX_ENABLE = no      # Enable per-key coordinate based RGB effects. Do not enable with RGBlight
15 RGB_MATRIX_KEYPRESSES = no  # Enable reactive per-key effects.
16 RGBLIGHT_FULL_POWER = yes   # Allow maximum RGB brightness. Otherwise, limited to a safe level for a normal USB-A port
17 UNICODE_ENABLE = no         # Unicode
18 SWAP_HANDS_ENABLE = no      # Enable one-hand typing
19 ENCODER_ENABLE = yes        # Enable rotary encoder
20 OLED_DRIVER_ENABLE = no     # Enable the OLED Driver
21 IOS_DEVICE_ENABLE = no      # Limit max brightness to connect to IOS device (iPad,iPhone)
22
23 # Do not edit past here
24
25 ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
26     OPT_DEFS += -DIOS_DEVICE_ENABLE
27 else ifeq ($(strip $(RGBLIGHT_FULL_POWER)), yes)
28     OPT_DEFS += -DRGBLIGHT_FULL_POWER
29 endif
30
31 ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes)
32     OPT_DEFS += -DRGB_MATRIX_KEYPRESSES
33 endif
34
35 ifeq ($(strip $(RGBLIGHT_ANIMATIONS)), yes)
36     OPT_DEFS += -DRGBLIGHT_ANIMATIONS
37 endif
38
39 ifeq ($(strip $(RGBLIGHT_SPLIT_ENABLE)), yes)
40     OPT_DEFS += -DRGBLIGHT_SPLIT_ENABLE
41 endif
42
43 # Link time optimization, should save on firmware size
44 EXTRAFLAGS += -flto