post_rules.mk (977B)
1 IOS_DEVICE_ENABLE ?= no # Limit max brightness to connect to IOS device (iPad,iPhone) 2 RGBLIGHT_FULL_POWER ?= no # Allow maximum RGB brightness for RGBLIGHT or RGB_MATRIX. Otherwise, limited to a safe level for a normal USB-A port 3 RGB_MATRIX_KEYPRESSES ?= no # Enable reactive per-key effects. 4 RGB_MATRIX_FRAMEBUFFER_EFFECTS ?= no # Enable frame buffer effects like the typing heatmap. 5 LED_MIRRORED ?= yes # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master) 6 7 ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) 8 OPT_DEFS += -DIOS_DEVICE_ENABLE 9 else ifeq ($(strip $(RGBLIGHT_FULL_POWER)), yes) 10 OPT_DEFS += -DRGBLIGHT_FULL_POWER 11 endif 12 13 ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes) 14 OPT_DEFS += -DRGB_MATRIX_KEYPRESSES 15 endif 16 17 ifeq ($(strip $(RGB_MATRIX_FRAMEBUFFER)), yes) 18 OPT_DEFS += -DRGB_MATRIX_FRAMEBUFFER_EFFECTS 19 endif 20 21 ifeq ($(strip $(LED_MIRRORED)), yes) 22 OPT_DEFS += -DLED_MIRRORED 23 endif