config.h 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. #define AUDIO_CLICKY_FREQ_RANDOMNESS 1.0f
  13. #endif
  14. #ifdef RGBLIGHT_ENABLE
  15. #define RGBLIGHT_SLEEP
  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 TAPPING_FORCE_HOLD
  34. //#define RETRO_TAPPING
  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 175
  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. #if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
  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