You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.4 KiB

  1. SRC += wanleg.c tapdances.c
  2. TAP_DANCE_ENABLE = yes
  3. MOUSEKEY_ENABLE = yes
  4. #If using a ProMicro and it has the QMK DFU bootloader instead of Caterina,
  5. #run "make <keyboard>:<keymap> dfu=qmk" when compiling to ensure it is flagged properly after being flashed
  6. ifeq ($(strip $(dfu)), qmk)
  7. BOOTLOADER = qmk-dfu
  8. endif
  9. #use alternate settings for boards using ProMicro instead of Micro
  10. #example usage: make 4x4:wanleg PM=yes
  11. ifeq ($(strip $(PM)), yes)
  12. OPT_DEFS += -DPRO_MICRO
  13. endif
  14. #use alternate settings for boards using "Adafruit Feather 32u4 Bluefruit LE" instead of Micro
  15. #example usage: make 5x5:wanleg BT=yes
  16. ifeq ($(strip $(BT)), yes)
  17. #opt_defs for alternate pin usage
  18. OPT_DEFS += -DBLUEFRUIT
  19. #Adafruit Bluefruit controller settings
  20. BLUETOOTH = AdafruitBLE
  21. BLUETOOTH_ENABLE = yes
  22. F_CPU = 8000000
  23. CONSOLE_ENABLE = no # Console for debug(+400)
  24. COMMAND_ENABLE = no # Commands for debug and configuration
  25. RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
  26. endif
  27. #move numpad to Left/Centre/Right(default) on 5x15 boards
  28. #example usage: make 4x4:wanleg padc=yes
  29. ifeq ($(strip $(padc)), yes)
  30. OPT_DEFS += -DPADC
  31. endif
  32. ifeq ($(strip $(padl)), yes)
  33. OPT_DEFS += -DPADL
  34. endif
  35. #change gherkin orientation (i.e. move USB port from right side to left side)
  36. #example usage: make gherkin:wanleg flip=yes
  37. ifeq ($(strip $(flip)), yes)
  38. OPT_DEFS += -DFLIP
  39. endif