config.h 1.4 KB

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