logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

override_helix_options.mk-maintenance (1272B)


  1. #
  2. # This file is not normally used. It is used for maintenance testing purposes.
  3. # To use it, do the following:
  4. #
  5. # $ cp override_helix_options.mk-maintenance override_helix_options.mk
  6. #
  7. $(info -------------------------)
  8. $(info override_helix_options.mk)
  9. $(info -------------------------)
  10. define HELIX_OVERRIDE_PARSE
  11. ifeq ($(strip $1),back)
  12. LED_BACK_ENABLE = yes
  13. LED_UNDERGLOW_ENABLE = no
  14. endif
  15. ifeq ($(strip $1),under)
  16. LED_BACK_ENABLE = no
  17. LED_UNDERGLOW_ENABLE = yes
  18. endif
  19. ifneq ($(filter noled led-off led_off,$(strip $1)),)
  20. LED_BACK_ENABLE = no
  21. LED_UNDERGLOW_ENABLE = no
  22. endif
  23. ifneq ($(filter noaudio audio-off audio_off,$(strip $1)),)
  24. AUDIO_ENABLE = no
  25. endif
  26. ifneq ($(filter audio audio-on audio_on,$(strip $1)),)
  27. AUDIO_ENABLE = yes
  28. endif
  29. ifneq ($(filter sc split-common split_common,$(strip $1)),)
  30. SPLIT_KEYBOARD = yes
  31. endif
  32. ifneq ($(filter nosc no-sc no-split-common no-split_common,$(strip $1)),)
  33. SPLIT_KEYBOARD = no
  34. endif
  35. ifeq ($(strip $1),scan)
  36. DEBUG_MATRIX_SCAN_RATE_ENABLE = yes
  37. endif
  38. ifeq ($(strip $1),scan-api)
  39. DEBUG_MATRIX_SCAN_RATE_ENABLE = api
  40. endif
  41. endef # end of HELIX_OVERRIDE_PARSE