2021-08-19 17:45:49 +00:00
|
|
|
SRC += jonavin.c
|
2021-10-30 18:53:58 +00:00
|
|
|
ifdef ENCODER_ENABLE
|
|
|
|
# include encoder related code when enabled
|
|
|
|
ifeq ($(strip $(ENCODER_DEFAULTACTIONS_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DENCODER_DEFAULTACTIONS_ENABLE
|
|
|
|
endif
|
|
|
|
ifeq ($(strip $(ALTTAB_SCROLL_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DALTTAB_SCROLL_ENABLE
|
|
|
|
endif
|
|
|
|
SRC += jonavin_encoder.c
|
2021-08-19 17:45:49 +00:00
|
|
|
endif
|
|
|
|
ifeq ($(strip $(TD_LSFT_CAPSLOCK_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DTD_LSFT_CAPSLOCK_ENABLE
|
|
|
|
endif
|
|
|
|
ifeq ($(strip $(IDLE_TIMEOUT_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DIDLE_TIMEOUT_ENABLE
|
|
|
|
endif
|
|
|
|
ifeq ($(strip $(STARTUP_NUMLOCK_ON)), yes)
|
|
|
|
OPT_DEFS += -DSTARTUP_NUMLOCK_ON
|
|
|
|
endif
|
2021-09-02 03:42:31 +00:00
|
|
|
ifeq ($(strip $(COLEMAK_LAYER_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DCOLEMAK_LAYER_ENABLE
|
|
|
|
endif
|
2021-10-12 01:03:58 +00:00
|
|
|
ifeq ($(strip $(EMOTICON_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DEMOTICON_ENABLE
|
|
|
|
endif
|
2021-10-23 06:04:08 +00:00
|
|
|
ifeq ($(strip $(INVERT_NUMLOCK_INDICATOR)), yes)
|
|
|
|
OPT_DEFS += -DINVERT_NUMLOCK_INDICATOR
|
|
|
|
endif
|