config.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. #pragma once
  17. #endif // !ONESHOT_TAP_TOGGLE
  18. #ifndef ONESHOT_TIMEOUT
  19. #define ONESHOT_TIMEOUT 3000
  20. #endif// !ONESHOT_TIMEOUT
  21. #ifndef QMK_KEYS_PER_SCAN
  22. #define QMK_KEYS_PER_SCAN 4
  23. #endif // !QMK_KEYS_PER_SCAN
  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. #undef PREVENT_STUCK_MODIFIERS
  31. // #define TAPPING_FORCE_HOLD
  32. //#define RETRO_TAPPING
  33. #define FORCE_NKRO
  34. #ifndef TAPPING_TOGGLE
  35. #define TAPPING_TOGGLE 1
  36. #endif
  37. #ifdef TAPPING_TERM
  38. #undef TAPPING_TERM
  39. #endif // TAPPING_TERM
  40. #define TAPPING_TERM 175
  41. // Disable action_get_macro and fn_actions, since we don't use these
  42. // and it saves on space in the firmware.
  43. #ifndef NO_DEBUG
  44. #define NO_DEBUG
  45. #endif // !NO_DEBUG
  46. #if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
  47. #define NO_PRINT
  48. !NO_PRINT
  49. #define NO_ACTION_MACRO
  50. #define NO_ACTION_FUNCTION
  51. #define DISABLE_LEADER
  52. #define MACRO_TIMER 5