From ab2a43edb060b393387d12dfb6c24f99cad9e871 Mon Sep 17 00:00:00 2001 From: stanrc85 <47038504+stanrc85@users.noreply.github.com> Date: Mon, 7 Dec 2020 20:18:04 -0500 Subject: [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 --- users/stanrc85/rules.mk | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'users/stanrc85/rules.mk') diff --git a/users/stanrc85/rules.mk b/users/stanrc85/rules.mk index 54f0f76260..fc2560d3a1 100644 --- a/users/stanrc85/rules.mk +++ b/users/stanrc85/rules.mk @@ -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 -- cgit v1.2.3