2018-09-25 15:39:41 -07:00
|
|
|
SRC += wanleg.c tapdances.c
|
2018-08-17 16:11:21 -07:00
|
|
|
|
|
|
|
TAP_DANCE_ENABLE = yes
|
|
|
|
MOUSEKEY_ENABLE = yes
|
|
|
|
|
|
|
|
#If using a ProMicro and it has the QMK DFU bootloader instead of Caterina,
|
|
|
|
#run "make <keyboard>:<keymap> dfu=qmk" when compiling to ensure it is flagged properly after being flashed
|
|
|
|
ifeq ($(strip $(dfu)), qmk)
|
|
|
|
BOOTLOADER = qmk-dfu
|
|
|
|
endif
|
2018-09-25 15:39:41 -07:00
|
|
|
|
2018-10-19 11:01:40 -07:00
|
|
|
#use alternate settings for boards using ProMicro instead of Micro
|
|
|
|
#example usage: make 4x4:wanleg PM=yes
|
2018-09-25 15:39:41 -07:00
|
|
|
ifeq ($(strip $(PM)), yes)
|
|
|
|
OPT_DEFS += -DPRO_MICRO
|
|
|
|
endif
|
2018-11-03 10:39:40 -07:00
|
|
|
|
|
|
|
#use alternate settings for boards using "Adafruit Feather 32u4 Bluefruit LE" instead of Micro
|
|
|
|
#example usage: make 5x5:wanleg BT=yes
|
|
|
|
ifeq ($(strip $(BT)), yes)
|
2018-12-05 08:42:50 -08:00
|
|
|
#opt_defs for alternate pin usage
|
|
|
|
OPT_DEFS += -DBLUEFRUIT
|
|
|
|
#Adafruit Bluefruit controller settings
|
|
|
|
BLUETOOTH_ENABLE = yes
|
2022-01-30 09:29:42 -08:00
|
|
|
BLUETOOTH_DRIVER = BluefruitLE
|
2018-12-05 08:42:50 -08:00
|
|
|
F_CPU = 8000000
|
|
|
|
CONSOLE_ENABLE = no # Console for debug(+400)
|
|
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
|
|
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
|
2018-12-30 07:53:02 -08:00
|
|
|
endif
|
|
|
|
|
|
|
|
#move numpad to Left/Centre/Right(default) on 5x15 boards
|
|
|
|
#example usage: make 4x4:wanleg padc=yes
|
|
|
|
ifeq ($(strip $(padc)), yes)
|
|
|
|
OPT_DEFS += -DPADC
|
|
|
|
endif
|
|
|
|
ifeq ($(strip $(padl)), yes)
|
|
|
|
OPT_DEFS += -DPADL
|
2019-05-01 20:29:00 -07:00
|
|
|
endif
|
|
|
|
|
|
|
|
#change gherkin orientation (i.e. move USB port from right side to left side)
|
|
|
|
#example usage: make gherkin:wanleg flip=yes
|
|
|
|
ifeq ($(strip $(flip)), yes)
|
|
|
|
OPT_DEFS += -DFLIP
|
2021-09-12 08:22:03 -07:00
|
|
|
endif
|