config.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #pragma once
  2. #ifdef AUDIO_ENABLE
  3. #define AUDIO_CLICKY
  4. #define STARTUP_SONG SONG(E1M1_DOOM)
  5. #define GOODBYE_SONG SONG(SONIC_RING)
  6. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  7. SONG(COLEMAK_SOUND), \
  8. SONG(DVORAK_SOUND), \
  9. SONG(OVERWATCH_THEME) \
  10. }
  11. #define AUDIO_CLICKY_FREQ_RANDOMNESS 1.0f
  12. #endif
  13. #ifdef RGBLIGHT_ENABLE
  14. #define RGBLIGHT_SLEEP
  15. #endif // RGBLIGHT_ENABLE
  16. #ifndef ONESHOT_TAP_TOGGLE
  17. #define ONESHOT_TAP_TOGGLE 2
  18. #endif // !ONESHOT_TAP_TOGGLE
  19. #ifndef ONESHOT_TIMEOUT
  20. #define ONESHOT_TIMEOUT 3000
  21. #endif// !ONESHOT_TIMEOUT
  22. #ifndef QMK_KEYS_PER_SCAN
  23. #define QMK_KEYS_PER_SCAN 4
  24. #endif // !QMK_KEYS_PER_SCAN
  25. // this makes it possible to do rolling combos (zx) with keys that
  26. // convert to other keys on hold (z becomes ctrl when you hold it,
  27. // and when this option isn't enabled, z rapidly followed by x
  28. // actually sends Ctrl-x. That's bad.)
  29. #define IGNORE_MOD_TAP_INTERRUPT
  30. #undef PERMISSIVE_HOLD
  31. #undef PREVENT_STUCK_MODIFIERS
  32. // #define TAPPING_FORCE_HOLD
  33. //#define RETRO_TAPPING
  34. #define FORCE_NKRO
  35. #ifndef TAPPING_TOGGLE
  36. #define TAPPING_TOGGLE 1
  37. #endif
  38. #ifdef TAPPING_TERM
  39. #undef TAPPING_TERM
  40. #endif // TAPPING_TERM
  41. #define TAPPING_TERM 175
  42. // Disable action_get_macro and fn_actions, since we don't use these
  43. // and it saves on space in the firmware.
  44. #ifndef NO_DEBUG
  45. #define NO_DEBUG
  46. #endif // !NO_DEBUG
  47. #if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
  48. #define NO_PRINT
  49. #endif // !NO_PRINT
  50. #define NO_ACTION_MACRO
  51. #define NO_ACTION_FUNCTION
  52. #define DISABLE_LEADER
  53. #define MACRO_TIMER 5