config.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. #pragma once
  2. ////////////////////////////////////////////////////////////////////////////////
  3. // Features That Can Be Enabled
  4. // https://docs.qmk.fm/reference/config-options#features-that-can-be-enabled
  5. ////////////////////////////////////////////////////////////////////////////////
  6. // Prevent modifiers from sticking when switching layers
  7. // Uses 5 bytes of memory per 8 keys, but makes sure modifiers don't get "stuck" switching layers
  8. #define PREVENT_STUCK_MODIFIERS
  9. ////////////////////////////////////////////////////////////////////////////////
  10. // Behaviors That Can Be Configured
  11. // https://docs.qmk.fm/reference/config-options#behaviors-that-can-be-configured
  12. ////////////////////////////////////////////////////////////////////////////////
  13. // MS the button needs to be held before a tap becomes a hold (default: 200)
  14. #undef TAPPING_TERM
  15. #define TAPPING_TERM 250
  16. // Makes it easier for fast typists to use dual-role keys. See additional details here:
  17. // https://docs.qmk.fm/features/advanced-keycodes#permissive-hold
  18. #define PERMISSIVE_HOLD
  19. // MS after tapping the Leader key to listen for a sequence (default: 300)
  20. #undef LEADER_TIMEOUT
  21. #define LEADER_TIMEOUT 750
  22. // This makes it possible to do rolling combos (zx) with keys that convert to other keys on hold
  23. // (for example, if z becomes ctrl when you hold it, when this option isn't enabled, z rapidly
  24. // followed by x actually sends Ctrl-x. That's bad.)
  25. #define IGNORE_MOD_TAP_INTERRUPT
  26. ////////////////////////////////////////////////////////////////////////////////
  27. // Mouse Key Options
  28. // https://docs.qmk.fm/reference/config-options#mouse-key-options
  29. ////////////////////////////////////////////////////////////////////////////////
  30. #ifdef MOUSEKEY_ENABLE
  31. // Mouse key config
  32. // Frequency with which cursor movements are sent. Lower means more resolution / DPI.
  33. // Default: 20
  34. // #undef MOUSEKEY_INTERVAL
  35. // #define MOUSEKEY_INTERVAL 20
  36. // MS after pressing the key before initial movement begins. Lower means quicker response.
  37. // Default: 0
  38. // #undef MOUSEKEY_DELAY
  39. // #define MOUSEKEY_DELAY 0
  40. // MS it takes the cursor to accelerate to max speed
  41. // Default: 60
  42. // #undef MOUSEKEY_TIME_TO_MAX
  43. // #define MOUSEKEY_TIME_TO_MAX 60
  44. // Maximum speed for the mouse keys
  45. // Default: 7
  46. // #undef MOUSEKEY_MAX_SPEED
  47. // #define MOUSEKEY_MAX_SPEED 7
  48. // Delay before the mouse wheel
  49. // Default: 0
  50. // #undef MOUSEKEY_WHEEL_DELAY
  51. // #define MOUSEKEY_WHEEL_DELAY 0
  52. #endif // MOUSEKEY_ENABLE