2
0

config.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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 // !KEYBOARD_ergodox_ez
  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 TAPPING_FORCE_HOLD
  35. //#define RETRO_TAPPING
  36. #define FORCE_NKRO
  37. #ifndef TAPPING_TOGGLE
  38. #define TAPPING_TOGGLE 1
  39. #endif
  40. #ifdef TAPPING_TERM
  41. #undef TAPPING_TERM
  42. #endif // TAPPING_TERM
  43. #define TAPPING_TERM 200
  44. // Disable action_get_macro and fn_actions, since we don't use these
  45. // and it saves on space in the firmware.
  46. #ifndef NO_DEBUG
  47. #define NO_DEBUG
  48. #endif // !NO_DEBUG
  49. #if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
  50. #define NO_PRINT
  51. #endif // !NO_PRINT
  52. #define NO_ACTION_MACRO
  53. #define NO_ACTION_FUNCTION
  54. #define DISABLE_LEADER
  55. #endif // !USERSPACE_CONFIG_H