config.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2015 Jack Humbert
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #ifndef CONFIG_H
  16. #define CONFIG_H
  17. #include "config_common.h"
  18. // GCC include 'config.h" sequence in qmk_firmware/keyboards/helix/
  19. // -include keyboards/helix/config.h
  20. // -include keyboards/helix/rev?/config.h
  21. // -include keyboards/helix/rev?/keymaps/MAPNAME/config.h
  22. // XXXX.c
  23. #include <serial_config.h>
  24. // GCC include search path in qmk_firmare/keyboards/helix/
  25. // #include "..." search starts here:
  26. // #include <...> search starts here:
  27. // keyboards/helix/rev?/keymaps/MAPNAME
  28. // keyboards/helix
  29. // keyboards/helix/rev?
  30. // .
  31. // ./tmk_core
  32. // ......
  33. #ifdef USE_Link_Time_Optimization
  34. // LTO has issues with macros (action_get_macro) and "functions" (fn_actions),
  35. // so just disable them
  36. #define NO_ACTION_MACRO
  37. #define NO_ACTION_FUNCTION
  38. #define DISABLE_LEADER
  39. #endif // USE_Link_Time_Optimization
  40. #if defined(LED_ANIMATIONS) || defined(RGBLIGHT_ANIMATIONS)
  41. #undef RGBLIGHT_ANIMATIONS
  42. #define RGBLIGHT_EFFECT_BREATHING
  43. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  44. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  45. #define RGBLIGHT_EFFECT_SNAKE
  46. #define RGBLIGHT_EFFECT_KNIGHT
  47. #define RGBLIGHT_EFFECT_CHRISTMAS
  48. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  49. #define RGBLIGHT_EFFECT_RGB_TEST
  50. #define RGBLIGHT_EFFECT_ALTERNATING
  51. #endif
  52. #endif /* CONFIG_H */