config.h 1.4 KB

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