[Keymap] Jonavin userspace encoder alt tab scrolling (#14979)

Co-authored-by: Jonavin <=>
This commit is contained in:
jonavin
2021-10-30 14:53:58 -04:00
committed by GitHub
parent 28120c1a63
commit 5334e087ef
8 changed files with 271 additions and 165 deletions

View File

@@ -1,6 +1,13 @@
SRC += jonavin.c
ifeq ($(strip $(ENCODER_DEFAULTACTIONS_ENABLE)), yes)
OPT_DEFS += -DENCODER_DEFAULTACTIONS_ENABLE
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
endif
ifeq ($(strip $(TD_LSFT_CAPSLOCK_ENABLE)), yes)
OPT_DEFS += -DTD_LSFT_CAPSLOCK_ENABLE