qmk_keymaps/keyboards/crkbd/keymaps/sajenim/rules.mk

30 lines
587 B
Makefile
Raw Normal View History

2023-01-16 23:02:14 +08:00
# We are using a Splinky RP2040 as a drop-in replacement controller
CONVERT_TO = promicro_rp2040
BOOTLOADER = rp2040
2023-02-19 17:51:22 +08:00
# Default features
2023-01-16 23:02:14 +08:00
LTO_ENABLE = yes
2023-02-19 17:51:22 +08:00
# Optional features
2023-03-30 12:41:27 +08:00
OLED_ENABLE = yes
RGBLIGHT_ENABLE = yes
COMBO_ENABLE = yes
# Toggleable through keymap
AUTO_SHIFT_ENABLE = yes
AUTOCORRECT_ENABLE = yes
CAPS_WORD_ENABLE = yes
2023-01-16 23:02:14 +08:00
2023-03-30 12:41:27 +08:00
SRC += process_record.c
SRC += features/layer_lock.c
SRC += features/sentence_case.c
2023-02-19 17:51:22 +08:00
ifeq ($(OLED_ENABLE),yes)
SRC += ./oled.c
2023-03-30 12:41:27 +08:00
OLED_DRIVER = SSD1306
WPM_ENABLE = yes
2023-02-19 17:51:22 +08:00
endif
ifeq ($(COMBO_ENABLE),yes)
VPATH += keyboards/gboards
endif