mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-26 02:17:38 +06:00
ab2a43edb0
* Add support for LAYOUT_alice to sneakbox pcb * define variables for sneakbox led pins * set rules for sneakbox pcb * add rotary encoder to userspace * fix rotary function * add custom layer indicators for sneakbox * Revert "Add support for LAYOUT_alice to sneakbox pcb" This reverts commit 5ed94d8d897de6ef4f7a349368a6342cef5eff06. * add license header * Use KEYBOARD_sneakbox_aliceclone * cleaned up indicator code
34 lines
756 B
Makefile
34 lines
756 B
Makefile
TAP_DANCE_ENABLE = yes
|
|
EXTRAKEY_ENABLE = yes
|
|
BACKLIGHT_ENABLE = no
|
|
COMMAND_ENABLE = no
|
|
BOOTMAGIC_ENABLE = no
|
|
MOUSEKEY_ENABLE = no
|
|
AUDIO_ENABLE = no
|
|
CONSOLE_ENABLE = no
|
|
NKRO_ENABLE = no
|
|
|
|
SRC += stanrc85.c
|
|
|
|
ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2)
|
|
SRC += rgblight_layers.c
|
|
SRC += startup_fanfare.c
|
|
OPT_DEFS += -DHAS_INDICATORS
|
|
VIA_ENABLE = yes
|
|
LTO_ENABLE = no
|
|
VELOCIKEY_ENABLE=yes
|
|
endif
|
|
ifeq ($(strip $(KEYBOARD)), sneakbox/aliceclone)
|
|
SRC += indicator_layers_sneakbox.c
|
|
#SRC += startup_fanfare.c
|
|
OPT_DEFS += -DHAS_INDICATORS
|
|
OPT_DEFS += -DHAS_ROTARY
|
|
VIA_ENABLE = yes
|
|
LTO_ENABLE = no
|
|
endif
|
|
ifeq ($(strip $(KEYBOARD)), tkc/osav2)
|
|
SRC += rgblight_layers_osa.c
|
|
VIA_ENABLE = yes
|
|
LTO_ENABLE = no
|
|
VELOCIKEY_ENABLE=yes
|
|
endif |