[Keymap] sneakbox keymap and userspace code (redo) (#10977)

* 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
This commit is contained in:
stanrc85
2020-12-07 20:18:04 -05:00
committed by GitHub
parent d17caeb8ec
commit ab2a43edb0
4 changed files with 60 additions and 0 deletions

View File

@ -18,6 +18,14 @@ ifeq ($(strip $(KEYBOARD)), projectkb/alice/rev2)
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