config.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.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. # undef RGBLIGHT_SAT_STEP
  19. # define RGBLIGHT_SAT_STEP 12
  20. # define RGBLIGHT_EFFECT_KNIGHT_LENGTH 3
  21. # define RGBLIGHT_EFFECT_SNAKE_LENGTH 3
  22. # ifdef RGB_MATRIX_ENABLE
  23. # define RGBLIGHT_DISABLE_KEYCODES
  24. # endif
  25. #endif // RGBLIGHT_ENABLE
  26. #undef PRODUCT
  27. #define PRODUCT "DrashnaDox - Hacked ErgoDox EZ Hybrid Monstrosity"
  28. #undef DEBOUNCE
  29. #define DEBOUNCE 20
  30. #define TAPPING_TERM_PER_KEY
  31. #define ERGODOX_LED_30
  32. #ifdef RGB_MATRIX_ENABLE
  33. # undef RGB_MATRIX_LED_PROCESS_LIMIT
  34. # undef RGB_MATRIX_LED_FLUSH_LIMIT
  35. # if defined(RGBLIGHT_ENABLE) && defined(RGB_MATRIX_ENABLE)
  36. # define RGBLIGHT_LIMIT_VAL 100
  37. # endif
  38. #endif
  39. #ifdef TAPPING_TERM
  40. # undef TAPPING_TERM
  41. #endif
  42. #define TAPPING_TERM 185