config.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #pragma once
  2. /* Set Polling rate to 1000Hz */
  3. #define USB_POLLING_INTERVAL_MS 1
  4. #ifndef ONESHOT_TAP_TOGGLE
  5. #define ONESHOT_TAP_TOGGLE 2
  6. #endif // !ONESHOT_TAP_TOGGLE
  7. #ifndef ONESHOT_TIMEOUT
  8. #define ONESHOT_TIMEOUT 2000
  9. #endif // !ONESHOT_TIMEOUT
  10. #if defined(LEADER_ENABLE)
  11. #define LEADER_PER_KEY_TIMING
  12. #define LEADER_TIMEOUT 250
  13. #endif // !LEADER_ENABLE
  14. #if defined(COMBO_ENABLE)
  15. #define COMBO_COUNT 4
  16. #define COMBO_TERM 150
  17. #endif // !COMBO_ENABLE
  18. #if defined(NKRO_ENABLE)
  19. #define FORCE_NKRO
  20. #endif // !NKRO_ENABLE
  21. // this makes it possible to do rolling combos (zx) with keys that
  22. // convert to other keys on hold (z becomes ctrl when you hold it,
  23. // and when this option isn't enabled, z rapidly followed by x
  24. // actually sends Ctrl-x. That's bad.)
  25. #define IGNORE_MOD_TAP_INTERRUPT
  26. #undef PERMISSIVE_HOLD
  27. //#define TAPPING_FORCE_HOLD
  28. //#define RETRO_TAPPING
  29. #ifndef TAPPING_TOGGLE
  30. #define TAPPING_TOGGLE 1
  31. #endif
  32. #ifdef TAPPING_TERM
  33. # undef TAPPING_TERM
  34. #endif // !TAPPING_TERM
  35. #if defined(KEYBOARD_ergodash)
  36. #define TAPPING_TERM 240
  37. #else
  38. #define TAPPING_TERM 200
  39. #endif
  40. #define TAP_CODE_DELAY 5 //DEFAULT: 100
  41. #define MACRO_TIMER 5