post_rules.mk (2106B)
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 ?= no # Mirror LEDs across halves (enable DIP 1 on slave, and DIP 2 and 3 on master) 6 FULLHAND_ENABLE ?= no # Enables the additional 24 Full Hand LEDs 7 SF_ENABLE ?= no # Enables the additional 38 Starfighter LEDs 8 9 EXTRA_ENCODERS_ENABLE ?= no # Enables 3 encoders per side (up from 1, not compatible with OLED_ENABLE) 10 11 # Special RGB Matrix, OLED, & Encoder Control Menu! 12 RGB_OLED_MENU ?= no # Enabled by setting this to the encoder index (0-5) you wish to use to control the menu. 13 # Use the RGB_MENU keycode in the keymap for the encoder to advance the menu to the next option. 14 15 16 ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes) 17 OPT_DEFS += -DIOS_DEVICE_ENABLE 18 else ifeq ($(strip $(RGBLIGHT_FULL_POWER)), yes) 19 OPT_DEFS += -DRGBLIGHT_FULL_POWER 20 endif 21 22 ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes) 23 OPT_DEFS += -DRGB_MATRIX_KEYPRESSES 24 endif 25 26 ifeq ($(strip $(RGB_MATRIX_FRAMEBUFFER)), yes) 27 OPT_DEFS += -DRGB_MATRIX_FRAMEBUFFER_EFFECTS 28 endif 29 30 ifeq ($(strip $(LED_MIRRORED)), yes) 31 OPT_DEFS += -DLED_MIRRORED 32 endif 33 34 ifeq ($(strip $(FULLHAND_ENABLE)), yes) 35 OPT_DEFS += -DFULLHAND_ENABLE 36 else ifeq ($(strip $(SF_ENABLE)), yes) 37 OPT_DEFS += -DSF_ENABLE 38 endif 39 40 ifeq ($(strip $(EXTRA_ENCODERS_ENABLE)), yes) 41 OPT_DEFS += -DEXTRA_ENCODERS_ENABLE 42 endif 43 44 ifeq ($(strip $(OLED_ENABLE)), yes) 45 ifeq ($(strip $(ENCODER_ENABLE)), yes) 46 ifeq ($(strip $(RGB_MATRIX_ENABLE)), yes) 47 ifneq ($(strip $(RGB_OLED_MENU)), no) 48 OPT_DEFS += -DRGB_OLED_MENU=$(strip $(RGB_OLED_MENU)) 49 endif 50 endif 51 endif 52 endif