config.h 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. Copyright 2020 mtei
  6. This program is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 2 of the License, or
  9. (at your option) any later version.
  10. This program is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #ifndef CONFIG_USER_H
  18. #define CONFIG_USER_H
  19. #undef TAPPING_TERM
  20. #define TAPPING_TERM 300
  21. #define PERMISSIVE_HOLD
  22. /* when TAPPING_TERM >= 500 same effect PERMISSIVE_HOLD.
  23. see tmk_core/common/action_tapping.c */
  24. #undef OLED_UPDATE_INTERVAL
  25. #define OLED_UPDATE_INTERVAL 50
  26. // place overrides here
  27. // If you need more program area, try select and reduce rgblight modes to use.
  28. #define DISABLE_SYNC_TIMER
  29. // Selection of RGBLIGHT MODE to use.
  30. #undef RGBLIGHT_ANIMATIONS
  31. #undef RGBLIGHT_EFFECT_BREATHING
  32. #undef RGBLIGHT_EFFECT_RAINBOW_MOOD
  33. #undef RGBLIGHT_EFFECT_RAINBOW_SWIRL
  34. #undef RGBLIGHT_EFFECT_SNAKE
  35. #undef RGBLIGHT_EFFECT_KNIGHT
  36. #undef RGBLIGHT_EFFECT_CHRISTMAS
  37. #undef RGBLIGHT_EFFECT_STATIC_GRADIENT
  38. #undef RGBLIGHT_EFFECT_RGB_TEST
  39. #undef RGBLIGHT_EFFECT_ALTERNATING
  40. #if defined(LED_ANIMATIONS)
  41. # if LED_ANIMATIONS_LEVEL > 1
  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. # else
  52. #define RGBLIGHT_EFFECT_BREATHING
  53. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  54. //#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  55. //#define RGBLIGHT_EFFECT_SNAKE
  56. //#define RGBLIGHT_EFFECT_KNIGHT
  57. //#define RGBLIGHT_EFFECT_CHRISTMAS
  58. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  59. //#define RGBLIGHT_EFFECT_RGB_TEST
  60. //#define RGBLIGHT_EFFECT_ALTERNATING
  61. # endif
  62. #endif
  63. #endif /* CONFIG_USER_H */
  64. #ifdef DEBUG_CONFIG
  65. # include "debug_config.h"
  66. #endif