config.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. # define UNICODE_SONG_OSX SONG(RICK_ROLL)
  13. # define UNICODE_SONG_LNX SONG(RICK_ROLL)
  14. # define UNICODE_SONG_WIN SONG(RICK_ROLL)
  15. # define UNICODE_SONG_BSD SONG(RICK_ROLL)
  16. # define UNICODE_SONG_WINC SONG(RICK_ROLL)
  17. #endif // !AUDIO_ENABLE
  18. #ifdef RGBLIGHT_ENABLE
  19. # define RGBLIGHT_SLEEP
  20. # undef RGBLIGHT_ANIMATIONS
  21. # define RGBLIGHT_EFFECT_BREATHING
  22. # define RGBLIGHT_EFFECT_SNAKE
  23. # define RGBLIGHT_EFFECT_KNIGHT
  24. #endif // RGBLIGHT_ENABLE
  25. #ifndef ONESHOT_TAP_TOGGLE
  26. # define ONESHOT_TAP_TOGGLE 2
  27. #endif // !ONESHOT_TAP_TOGGLE
  28. #ifndef ONESHOT_TIMEOUT
  29. # define ONESHOT_TIMEOUT 3000
  30. #endif// !ONESHOT_TIMEOUT
  31. #ifndef QMK_KEYS_PER_SCAN
  32. # define QMK_KEYS_PER_SCAN 4
  33. #endif // !QMK_KEYS_PER_SCAN
  34. // this makes it possible to do rolling combos (zx) with keys that
  35. // convert to other keys on hold (z becomes ctrl when you hold it,
  36. // and when this option isn't enabled, z rapidly followed by x
  37. // actually sends Ctrl-x. That's bad.)
  38. #define IGNORE_MOD_TAP_INTERRUPT
  39. #undef PERMISSIVE_HOLD
  40. //#define TAPPING_FORCE_HOLD
  41. //#define RETRO_TAPPING
  42. #define FORCE_NKRO
  43. #ifndef TAPPING_TOGGLE
  44. # define TAPPING_TOGGLE 1
  45. #endif
  46. #ifdef TAPPING_TERM
  47. # undef TAPPING_TERM
  48. #endif // TAPPING_TERM
  49. #if defined(KEYBOARD_ergodox_ez)
  50. # define TAPPING_TERM 185
  51. #elif defined(KEYBOARD_crkbd)
  52. # define TAPPING_TERM 200
  53. #else
  54. # define TAPPING_TERM 175
  55. #endif
  56. #define TAP_CODE_DELAY 5
  57. /* Disable unused and unneeded features to reduce on firmware size */
  58. #ifdef LOCKING_SUPPORT_ENABLE
  59. # undef LOCKING_SUPPORT_ENABLE
  60. #endif
  61. #ifdef LOCKING_RESYNC_ENABLE
  62. # undef LOCKING_RESYNC_ENABLE
  63. #endif