config.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*
  2. This is the c configuration file for the keymap
  3. Copyright 2012 Jun Wako <wakojun@gmail.com>
  4. Copyright 2015 Jack Humbert
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #ifndef CONFIG_USER_H
  17. #define CONFIG_USER_H
  18. // place overrides here
  19. #ifdef AUDIO_ENABLE
  20. #define STARTUP_SONG SONG(STARTUP_SOUND)
  21. #define AUDIO_CLICKY
  22. #endif
  23. #undef TAPPING_TERM
  24. #define TAPPING_TERM 300
  25. #define PERMISSIVE_HOLD
  26. /* when TAPPING_TERM >= 500 same effect PERMISSIVE_HOLD.
  27. see tmk_core/common/action_tapping.c */
  28. // If you need more program area, try select and reduce rgblight modes to use.
  29. // Selection of RGBLIGHT MODE to use.
  30. #if defined(LED_ANIMATIONS)
  31. #define RGBLIGHT_EFFECT_BREATHING
  32. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  33. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  34. //#define RGBLIGHT_EFFECT_SNAKE
  35. //#define RGBLIGHT_EFFECT_KNIGHT
  36. #define RGBLIGHT_EFFECT_CHRISTMAS
  37. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  38. //#define RGBLIGHT_EFFECT_RGB_TEST
  39. //#define RGBLIGHT_EFFECT_ALTERNATING
  40. #endif
  41. #endif /* CONFIG_USER_H */