config.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* Copyright 2020 Stephen J. Bush @muppetjones
  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_HUE_STEP 8
  19. # define RGBLIGHT_SAT_STEP 16
  20. # define RGBLIGHT_VAL_STEP 16
  21. # define RGBLIGHT_LIMIT_VAL 150
  22. # define RGBLIGHT_SLEEP
  23. // # define RGBLIGHT_LAYERS
  24. #endif
  25. #ifdef TAP_DANCE_ENABLE
  26. // Change "hold" time (default is 200 ms)
  27. // -- used for tap dance and other tap mods
  28. # define TAPPING_TERM 175
  29. // Prevent normal rollover on alphas from accidentally triggering mods.
  30. # define IGNORE_MOD_TAP_INTERRUPT
  31. // Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
  32. # define TAPPING_FORCE_HOLD
  33. #endif
  34. #define COMBO_COUNT 3
  35. #define COMBO_TERM 40