config.h 1.6 KB

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