logo

qmk_firmware

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

post_rules.mk (865B)


  1. RGB_MATRIX_KEYPRESSES ?= no # Enable reactive per-key effects.
  2. RGB_MATRIX_FRAMEBUFFER_EFFECTS ?= no # Enable frame buffer effects like the typing heatmap.
  3. # RGB layout selection
  4. STAGGERED_LAYOUT ?= no # If you soldered R1-A12 and R4-A12, enable this.
  5. RGB_ENCODERS ?= yes # For RGB encoders, solder on both WS2811 chips
  6. ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes)
  7. OPT_DEFS += -DRGB_MATRIX_KEYPRESSES
  8. endif
  9. ifeq ($(strip $(RGB_MATRIX_FRAMEBUFFER)), yes)
  10. OPT_DEFS += -DRGB_MATRIX_FRAMEBUFFER_EFFECTS
  11. endif
  12. ifeq ($(strip $(STAGGERED_LAYOUT)), yes)
  13. OPT_DEFS += -DSTAGGERED_LAYOUT
  14. endif
  15. ifeq ($(strip $(RGB_ENCODERS)), yes)
  16. OPT_DEFS += -DRGB_ENCODERS
  17. endif
  18. ifeq ($(strip $(RGB_ENCODERS)), yes)
  19. ifeq ($(strip $(STAGGERED_LAYOUT)), yes)
  20. OPT_DEFS += -DSTAGGERED_RGB_ENCODERS=$(strip $(STAGGERED_RGB_ENCODERS))
  21. endif
  22. endif