Files
qmk/keyboards/splitkb/kyria/keymaps/gotham/rules.mk
T

24 lines
672 B
Makefile
Raw Normal View History

2020-06-13 01:24:13 -07:00
CONSOLE_ENABLE = yes # Console for debug
ENCODER_ENABLE = yes # ENables the use of one or more encoders
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
MOUSEKEY_ENABLE = no # Mouse keys
OLED_ENABLE = yes
OLED_DRIVER = SSD1306 # Enables the use of OLED displays
2020-06-13 01:24:13 -07:00
THUMBSTICK_ENABLE = yes # Enables analog thumbstick code
ifeq ($(strip $(ENCODER_ENABLE)), yes)
SRC += encoder_utils.c
endif
ifeq ($(strip $(OLED_ENABLE)), yes)
2020-06-13 01:24:13 -07:00
SRC += oled_utils.c
endif
ifeq ($(strip $(THUMBSTICK_ENABLE)), yes)
POINTING_DEVICE_ENABLE = yes
POINTING_DEVICE_DRIVER = custom
2020-06-13 01:24:13 -07:00
OPT_DEFS += -DTHUMBSTICK_ENABLE
SRC += analog.c
SRC += thumbstick.c
endif