Update modules name and add halcyon default keymap

This commit is contained in:
harvey-splitkb 2024-10-17 15:14:48 +02:00
parent 0fe01454d8
commit ac7c588033
44 changed files with 518 additions and 0 deletions

View file

@ -0,0 +1,37 @@
CURRENT_DIR := $(dir $(realpath $(lastword $(MAKEFILE_LIST))))
SRC += halcyon.c
ifndef HLC_CIRQUE_TRACKPAD #add any other pointing devices here
# Needed otherwise pointing devices will not work
POINTING_DEVICE_ENABLE = yes
# cirque defined here as otherwise sensitivity on slave is way too high
# may need to be changed when we start supporting other pointing devices
POINTING_DEVICE_DRIVER = cirque_pinnacle_spi
endif
ifndef HLC_TFT_DISPLAY #add any other displays here
# Needed otherwise displays will not work
QUANTUM_PAINTER_ENABLE = yes
QUANTUM_PAINTER_DRIVERS += st7789_spi
BACKLIGHT_ENABLE = yes
BACKLIGHT_DRIVER = pwm
endif
ifdef HLC_ENCODER
include $(CURRENT_DIR)/hlc_encoder/rules.mk
endif
ifdef HLC_TFT_DISPLAY
include $(CURRENT_DIR)/hlc_tft_display/rules.mk
endif
ifdef HLC_CIRQUE_TRACKPAD
include $(CURRENT_DIR)/hlc_cirque_trackpad/rules.mk
endif
HLC_OPTIONS := $(HLC_NONE) $(HLC_CIRQUE_TRACKPAD) $(HLC_ENCODER) $(HLC_TFT_DISPLAY)
ifeq ($(filter 1, $(HLC_OPTIONS)), )
$(error Wrong or no module specified. Please specify one of the following: HLC_NONE, HLC_CIRQUE_TRACKPAD, HLC_ENCODER or HLC_TFT_DISPLAY.)
endif