mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-28 03:59:33 +06:00
588b2329cb
* change split keyboard tapping term in userspace * fix 5x15 layout numpad movement * minor changes for Nori setup * edit based on 40percentclub refactor change * fix gherkin due to refactor * kbd6x wanleg keymap * kbd6x edits * kbd6x tweak * fn / backlight layer * fix jj40 rgb hex issue * wanleg gherkin lighting * 4x12 layout cleanup * move kbd6x to new kbdfans directory * minor edit related to new kbdfans directory * mac layout for kbd6x * gherkin flip option * tweak tapping term on lets_split * edit for keebio board coalescing * update user readme with git hints * wanleg miniaxe keymap * testing Permissive Hold instead of Mod Tap Interrupt * wiring names * kbd6x keymap * change default backlight behaviour on kbd6x * userspace underglow * userspace underglow * underglow tweaks * user readme update * more layer underglow tweaks * fix userspace for non-underglow-enabled boards * readme edits * readme edits * readme edits * readme edits * Update readme.md * Update readme.md * readme edits * readme edits * update keymap picture
45 lines
1.4 KiB
Makefile
45 lines
1.4 KiB
Makefile
SRC += wanleg.c tapdances.c
|
|
|
|
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
|
|
|
|
#use alternate settings for boards using ProMicro instead of Micro
|
|
#example usage: make 4x4:wanleg PM=yes
|
|
ifeq ($(strip $(PM)), yes)
|
|
OPT_DEFS += -DPRO_MICRO
|
|
endif
|
|
|
|
#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)
|
|
#opt_defs for alternate pin usage
|
|
OPT_DEFS += -DBLUEFRUIT
|
|
#Adafruit Bluefruit controller settings
|
|
BLUETOOTH = AdafruitBLE
|
|
BLUETOOTH_ENABLE = yes
|
|
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
|
|
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
|
|
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
|
|
endif |