You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
2.0 KiB

  1. /* Copyright 2021 SethBarberee <seth.barberee@gmail.com>
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  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. *
  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. #pragma once
  17. #ifdef RGBLIGHT_ENABLE
  18. # define RGBLIGHT_SLEEP
  19. # ifndef RGBLIGHT_HUE_STEP
  20. # define RGBLIGHT_HUE_STEP 8
  21. #endif
  22. # ifndef RGBLIGHT_SAT_STEPT
  23. # define RGBLIGHT_SAT_STEP 8
  24. #endif
  25. # ifndef RGBLIGHT_VAL_STEP
  26. # define RGBLIGHT_VAL_STEP 8
  27. #endif
  28. // Trim animations I don't use/like
  29. # ifdef RGBLIGHT_ANIMATIONS
  30. # undef RGBLIGHT_ANIMATIONS
  31. # endif
  32. # define RGBLIGHT_EFFECT_BREATHING
  33. # define RGBLIGHT_EFFECT_STATIC_GRADIENT
  34. # define RGBLIGHT_EFFECT_TWINKLE
  35. # ifndef CAPS_LOCK_MODE
  36. # define CAPS_LOCK_MODE RGBLIGHT_MODE_STATIC_LIGHT
  37. # endif
  38. #endif // RGBLIGHT_ENABLE
  39. #ifndef AUDIO_ENABLE
  40. # define NO_MUSIC_MODE
  41. #endif // AUDIO_ENABLE
  42. #define FORCE_NKRO // Force NKRO on by default
  43. // Totally taken from @drashna's userspace
  44. #ifdef TAPPING_TERM
  45. # undef TAPPING_TERM
  46. #endif // TAPPING_TERM
  47. //
  48. // Keeping these commented for examples when I want to tweak per keyboard
  49. // but setting a default across my boards for now
  50. //
  51. //#if defined(KEYBOARD_ergodox_ez)
  52. //# define TAPPING_TERM 185
  53. #if defined(KEYBOARD_crkbd)
  54. # define TAPPING_TERM 185
  55. #else
  56. # define TAPPING_TERM 200
  57. #endif
  58. /* Disable unused and unneeded features to reduce on firmware size */
  59. #ifdef LOCKING_SUPPORT_ENABLE
  60. # undef LOCKING_SUPPORT_ENABLE
  61. #endif
  62. #ifdef LOCKING_RESYNC_ENABLE
  63. # undef LOCKING_RESYNC_ENABLE
  64. #endif