2022-10-27 18:50:32 +06:00
|
|
|
# Copyright 2022 Manna Harbour
|
2022-07-02 17:26:23 +06:00
|
|
|
# https://github.com/manna-harbour/miryoku
|
|
|
|
|
2022-10-27 18:50:32 +06:00
|
|
|
# alternative layout options
|
2022-07-02 17:26:23 +06:00
|
|
|
|
|
|
|
ifneq ($(strip $(MIRYOKU_ALPHAS)),)
|
|
|
|
OPT_DEFS += -DMIRYOKU_ALPHAS_$(MIRYOKU_ALPHAS)
|
|
|
|
endif
|
|
|
|
|
2022-10-27 18:50:32 +06:00
|
|
|
ifneq ($(strip $(MIRYOKU_EXTRA)),)
|
|
|
|
OPT_DEFS += -DMIRYOKU_EXTRA_$(MIRYOKU_EXTRA)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(strip $(MIRYOKU_TAP)),)
|
|
|
|
OPT_DEFS += -DMIRYOKU_TAP_$(MIRYOKU_TAP)
|
|
|
|
endif
|
|
|
|
|
2022-07-02 17:26:23 +06:00
|
|
|
ifneq ($(strip $(MIRYOKU_NAV)),)
|
|
|
|
OPT_DEFS += -DMIRYOKU_NAV_$(MIRYOKU_NAV)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(strip $(MIRYOKU_CLIPBOARD)),)
|
|
|
|
OPT_DEFS += -DMIRYOKU_CLIPBOARD_$(MIRYOKU_CLIPBOARD)
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifneq ($(strip $(MIRYOKU_LAYERS)),)
|
|
|
|
OPT_DEFS += -DMIRYOKU_LAYERS_$(MIRYOKU_LAYERS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
# subset mappings
|
2022-10-27 18:50:32 +06:00
|
|
|
|
2022-07-02 17:26:23 +06:00
|
|
|
ifneq ($(strip $(MIRYOKU_MAPPING)),)
|
|
|
|
OPT_DEFS += -DMIRYOKU_MAPPING_$(MIRYOKU_MAPPING)
|
|
|
|
endif
|
|
|
|
|
2022-10-27 18:50:32 +06:00
|
|
|
# kludges
|
2022-07-02 17:26:23 +06:00
|
|
|
|
|
|
|
# thumb combos
|
|
|
|
ifeq ($(strip $(MIRYOKU_KLUDGE_THUMBCOMBOS)),yes)
|
|
|
|
COMBO_ENABLE = yes
|
|
|
|
OPT_DEFS += -DMIRYOKU_KLUDGE_THUMBCOMBOS
|
|
|
|
endif
|