rules.mk (1374B)
1 MOUSEKEY_ENABLE = no # Mouse keys 2 EXTRAKEY_ENABLE = yes # Audio control and System control 3 CONSOLE_ENABLE = no # Console for debug 4 COMMAND_ENABLE = no # Commands for debug and configuration 5 NKRO_ENABLE = no 6 RGBLIGHT_ENABLE = yes # Enable global lighting effects. Do not enable with RGB Matrix 7 RGBLIGHT_SPLIT_ENABLE = no # Split RGBLight Support 8 RGB_MATRIX_ENABLE = no # Enable per-key coordinate based RGB effects. Do not enable with RGBlight 9 RGB_MATRIX_KEYPRESSES = no # Enable reactive per-key effects. 10 RGBLIGHT_FULL_POWER = yes # Allow maximum RGB brightness. Otherwise, limited to a safe level for a normal USB-A port 11 SWAP_HANDS_ENABLE = no # Enable one-hand typing 12 ENCODER_ENABLE = yes # Enable rotary encoder 13 OLED_ENABLE = yes 14 IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone) 15 LTO_ENABLE = yes # Enable optimizations to reduce firmware size. Also disables action macros and functions. 16 17 # Do not edit past here 18 19 ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) 20 OPT_DEFS += -DIOS_DEVICE_ENABLE 21 else ifeq ($(strip $(RGBLIGHT_FULL_POWER)), yes) 22 OPT_DEFS += -DRGBLIGHT_FULL_POWER 23 endif 24 25 ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes) 26 OPT_DEFS += -DRGB_MATRIX_KEYPRESSES 27 endif 28 29 ifeq ($(strip $(RGBLIGHT_SPLIT_ENABLE)), yes) 30 OPT_DEFS += -DRGBLIGHT_SPLIT_ENABLE 31 endif