You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
677 B

  1. # As long as the users rules.mk has include $(KEYBOARD)/post_rules.mk this will be run after to properly setup any keyboard features and defines
  2. ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes)
  3. OPT_DEFS += -DRGB_MATRIX_KEYPRESSES
  4. endif
  5. ifeq ($(strip $(RGB_MATRIX_FRAMEBUFFER)), yes)
  6. OPT_DEFS += -DRGB_MATRIX_FRAMEBUFFER_EFFECTS
  7. endif
  8. ifeq ($(strip $(STAGGERED_LAYOUT)), yes)
  9. OPT_DEFS += -DSTAGGERED_LAYOUT
  10. endif
  11. ifeq ($(strip $(RGB_ENCODERS)), yes)
  12. OPT_DEFS += -DRGB_ENCODERS
  13. endif
  14. ifeq ($(strip $(RGB_ENCODERS)), yes)
  15. ifeq ($(strip $(STAGGERED_LAYOUT)), yes)
  16. OPT_DEFS += -DSTAGGERED_RGB_ENCODERS=$(strip $(STAGGERED_RGB_ENCODERS))
  17. endif
  18. endif