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.

29 lines
851 B

  1. SRC += jonavin.c
  2. ifdef ENCODER_ENABLE
  3. # include encoder related code when enabled
  4. ifeq ($(strip $(ENCODER_DEFAULTACTIONS_ENABLE)), yes)
  5. OPT_DEFS += -DENCODER_DEFAULTACTIONS_ENABLE
  6. endif
  7. ifeq ($(strip $(ALTTAB_SCROLL_ENABLE)), yes)
  8. OPT_DEFS += -DALTTAB_SCROLL_ENABLE
  9. endif
  10. SRC += jonavin_encoder.c
  11. endif
  12. ifeq ($(strip $(TD_LSFT_CAPSLOCK_ENABLE)), yes)
  13. OPT_DEFS += -DTD_LSFT_CAPSLOCK_ENABLE
  14. endif
  15. ifeq ($(strip $(IDLE_TIMEOUT_ENABLE)), yes)
  16. OPT_DEFS += -DIDLE_TIMEOUT_ENABLE
  17. endif
  18. ifeq ($(strip $(STARTUP_NUMLOCK_ON)), yes)
  19. OPT_DEFS += -DSTARTUP_NUMLOCK_ON
  20. endif
  21. ifeq ($(strip $(COLEMAK_LAYER_ENABLE)), yes)
  22. OPT_DEFS += -DCOLEMAK_LAYER_ENABLE
  23. endif
  24. ifeq ($(strip $(EMOTICON_ENABLE)), yes)
  25. OPT_DEFS += -DEMOTICON_ENABLE
  26. endif
  27. ifeq ($(strip $(INVERT_NUMLOCK_INDICATOR)), yes)
  28. OPT_DEFS += -DINVERT_NUMLOCK_INDICATOR
  29. endif