2021-08-19 23:45:49 +06:00
|
|
|
SRC += jonavin.c
|
2021-10-31 00:53:58 +06: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 23:45:49 +06: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 09:42:31 +06:00
|
|
|
ifeq ($(strip $(COLEMAK_LAYER_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DCOLEMAK_LAYER_ENABLE
|
|
|
|
endif
|
2021-10-12 07:03:58 +06:00
|
|
|
ifeq ($(strip $(EMOTICON_ENABLE)), yes)
|
|
|
|
OPT_DEFS += -DEMOTICON_ENABLE
|
|
|
|
endif
|
2021-10-23 12:04:08 +06:00
|
|
|
ifeq ($(strip $(INVERT_NUMLOCK_INDICATOR)), yes)
|
|
|
|
OPT_DEFS += -DINVERT_NUMLOCK_INDICATOR
|
|
|
|
endif
|