config.h 1.9 KB

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