config.h 1.4 KB

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