logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

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