config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. #ifndef QMK_KEYS_PER_SCAN
  11. #define QMK_KEYS_PER_SCAN 4
  12. #endif // !QMK_KEYS_PER_SCAN
  13. #if defined(LEADER_ENABLE)
  14. #define LEADER_PER_KEY_TIMING
  15. #define LEADER_TIMEOUT 250
  16. #endif // !LEADER_ENABLE
  17. #if defined(COMBO_ENABLE)
  18. #define COMBO_COUNT 4
  19. #define COMBO_TERM 150
  20. #endif // !COMBO_ENABLE
  21. #if defined(NKRO_ENABLE)
  22. #define FORCE_NKRO
  23. #endif // !NKRO_ENABLE
  24. // this makes it possible to do rolling combos (zx) with keys that
  25. // convert to other keys on hold (z becomes ctrl when you hold it,
  26. // and when this option isn't enabled, z rapidly followed by x
  27. // actually sends Ctrl-x. That's bad.)
  28. #define IGNORE_MOD_TAP_INTERRUPT
  29. #undef PERMISSIVE_HOLD
  30. //#define TAPPING_FORCE_HOLD
  31. //#define RETRO_TAPPING
  32. #ifndef TAPPING_TOGGLE
  33. #define TAPPING_TOGGLE 1
  34. #endif
  35. #ifdef TAPPING_TERM
  36. # undef TAPPING_TERM
  37. #endif // !TAPPING_TERM
  38. #if defined(KEYBOARD_ergodash)
  39. #define TAPPING_TERM 240
  40. #else
  41. #define TAPPING_TERM 200
  42. #endif
  43. #define TAP_CODE_DELAY 5 //DEFAULT: 100
  44. #define MACRO_TIMER 5