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

31 lines
606 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
REPEAT_KEY_ENABLE = yes
LEADER_ENABLE = yes
2023-03-30 12:41:27 +08:00
# Toggleable through keymap
AUTO_SHIFT_ENABLE = yes
AUTOCORRECT_ENABLE = yes
CAPS_WORD_ENABLE = yes
2023-08-15 07:39:18 +08:00
COMBO_ENABLE = yes
2023-01-16 23:02:14 +08:00
2023-03-30 12:41:27 +08:00
SRC += process_record.c
SRC += features/sentence_case.c
2023-02-19 17:51:22 +08:00
ifeq ($(OLED_ENABLE),yes)
SRC += ./oled.c
2023-09-29 07:25:32 +08:00
OLED_DRIVER = ssd1306
2023-03-30 12:41:27 +08:00
WPM_ENABLE = yes
2023-02-19 17:51:22 +08:00
endif
ifeq ($(COMBO_ENABLE),yes)
VPATH += keyboards/gboards
endif