rules.mk 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # Build Options
  2. # change to "no" to disable the options, or define them in the Makefile in
  3. # the appropriate keymap folder that will get included automatically
  4. #
  5. MOUSEKEY_ENABLE = no # Mouse keys
  6. EXTRAKEY_ENABLE = yes # Audio control and System control
  7. CONSOLE_ENABLE = no # Console for debug
  8. COMMAND_ENABLE = no # Commands for debug and configuration
  9. NKRO_ENABLE = no # Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
  10. RGBLIGHT_ENABLE = yes # Enable global lighting effects. Do not enable with RGB Matrix
  11. RGBLIGHT_ANIMATIONS = yes # LED animations
  12. RGBLIGHT_SPLIT_ENABLE = no # Split RGBLight Support
  13. RGB_MATRIX_ENABLE = no # Enable per-key coordinate based RGB effects. Do not enable with RGBlight
  14. RGB_MATRIX_KEYPRESSES = no # Enable reactive per-key effects.
  15. RGBLIGHT_FULL_POWER = yes # Allow maximum RGB brightness. Otherwise, limited to a safe level for a normal USB-A port
  16. UNICODE_ENABLE = no # Unicode
  17. SWAP_HANDS_ENABLE = no # Enable one-hand typing
  18. ENCODER_ENABLE = yes # Enable rotary encoder
  19. OLED_DRIVER_ENABLE = no # Enable the OLED Driver
  20. IOS_DEVICE_ENABLE = no # Limit max brightness to connect to IOS device (iPad,iPhone)
  21. LINK_TIME_OPTIMIZATION_ENABLE = no # Enable optimizations to reduce firmware size. Also disables action macros and functions.
  22. # Do not edit past here
  23. ifeq ($(strip $(IOS_DEVICE_ENABLE)), yes)
  24. OPT_DEFS += -DIOS_DEVICE_ENABLE
  25. else ifeq ($(strip $(RGBLIGHT_FULL_POWER)), yes)
  26. OPT_DEFS += -DRGBLIGHT_FULL_POWER
  27. endif
  28. ifeq ($(strip $(RGB_MATRIX_KEYPRESSES)), yes)
  29. OPT_DEFS += -DRGB_MATRIX_KEYPRESSES
  30. endif
  31. ifeq ($(strip $(RGBLIGHT_ANIMATIONS)), yes)
  32. OPT_DEFS += -DRGBLIGHT_ANIMATIONS
  33. endif
  34. ifeq ($(strip $(RGBLIGHT_SPLIT_ENABLE)), yes)
  35. OPT_DEFS += -DRGBLIGHT_SPLIT_ENABLE
  36. endif