config.h 1.8 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.5f
  12. // #ifdef RGBLIGHT_ENABLE
  13. // #define NO_MUSIC_MODE
  14. // #endif //RGBLIGHT_ENABLE
  15. #endif
  16. #ifdef RGBLIGHT_ENABLE
  17. #define RGBLIGHT_SLEEP
  18. #undef RGBLIGHT_ANIMATIONS
  19. #define RGBLIGHT_EFFECT_BREATHING
  20. #define RGBLIGHT_EFFECT_SNAKE
  21. #define RGBLIGHT_EFFECT_KNIGHT
  22. #endif // RGBLIGHT_ENABLE
  23. #ifndef ONESHOT_TAP_TOGGLE
  24. #define ONESHOT_TAP_TOGGLE 2
  25. #endif // !ONESHOT_TAP_TOGGLE
  26. #ifndef ONESHOT_TIMEOUT
  27. #define ONESHOT_TIMEOUT 3000
  28. #endif// !ONESHOT_TIMEOUT
  29. #ifndef QMK_KEYS_PER_SCAN
  30. #define QMK_KEYS_PER_SCAN 4
  31. #endif // !QMK_KEYS_PER_SCAN
  32. // this makes it possible to do rolling combos (zx) with keys that
  33. // convert to other keys on hold (z becomes ctrl when you hold it,
  34. // and when this option isn't enabled, z rapidly followed by x
  35. // actually sends Ctrl-x. That's bad.)
  36. #define IGNORE_MOD_TAP_INTERRUPT
  37. #define PERMISSIVE_HOLD
  38. //#define TAPPING_FORCE_HOLD
  39. //#define RETRO_TAPPING
  40. #define FORCE_NKRO
  41. #ifndef TAPPING_TOGGLE
  42. #define TAPPING_TOGGLE 1
  43. #endif
  44. #ifdef TAPPING_TERM
  45. #undef TAPPING_TERM
  46. #endif // TAPPING_TERM
  47. #if defined(KEYBOARD_ergodox_ez)
  48. #define TAPPING_TERM 185
  49. #elif defined(KEYBOARD_crkbd)
  50. #define TAPPING_TERM 200
  51. #else
  52. #define TAPPING_TERM 175
  53. #endif
  54. // Disable action_get_macro and fn_actions, since we don't use these
  55. // and it saves on space in the firmware.
  56. #define NO_ACTION_MACRO
  57. #define NO_ACTION_FUNCTION
  58. #define MACRO_TIMER 5