config.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #pragma once
  2. #ifdef AUDIO_ENABLE
  3. # define DEFAULT_LAYER_SONGS \
  4. { SONG(QWERTY_SOUND), SONG(COLEMAK_SOUND), SONG(DVORAK_SOUND), SONG(PLOVER_SOUND) }
  5. # define AUDIO_CLICKY
  6. # define STARTUP_SONG SONG(RICK_ROLL)
  7. # define GOODBYE_SONG SONG(SONIC_RING)
  8. # define AUDIO_CLICKY_FREQ_RANDOMNESS 1.5f
  9. # ifndef __arm__
  10. # undef NOTE_REST
  11. # define NOTE_REST 1.00f
  12. # endif // !__arm__
  13. # define UNICODE_SONG_OSX SONG(RICK_ROLL)
  14. # define UNICODE_SONG_LNX SONG(RICK_ROLL)
  15. # define UNICODE_SONG_WIN SONG(RICK_ROLL)
  16. # define UNICODE_SONG_BSD SONG(RICK_ROLL)
  17. # define UNICODE_SONG_WINC SONG(RICK_ROLL)
  18. #endif // !AUDIO_ENABLE
  19. #ifdef RGBLIGHT_ENABLE
  20. # define RGBLIGHT_SLEEP
  21. # undef RGBLIGHT_ANIMATIONS
  22. # define RGBLIGHT_HUE_STEP 16
  23. # define RGBLIGHT_SAT_STEP 16
  24. # define RGBLIGHT_VAL_STEP 16
  25. # define RGBLIGHT_LIMIT_VAL 255
  26. # define RGBLIGHT_EFFECT_BREATHING
  27. # define RGBLIGHT_EFFECT_STATIC_GRADIENT
  28. //# define RGBLIGHT_EFFECT_KNIGHT
  29. //# define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
  30. //# define RGBLIGHT_EFFECT_SNAKE
  31. //# define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
  32. #endif // !RGBLIGHT_ENABLE
  33. #ifndef ONESHOT_TAP_TOGGLE
  34. # define ONESHOT_TAP_TOGGLE 2
  35. #endif // !ONESHOT_TAP_TOGGLE
  36. #ifndef ONESHOT_TIMEOUT
  37. # define ONESHOT_TIMEOUT 3000
  38. #endif// !ONESHOT_TIMEOUT
  39. #ifndef QMK_KEYS_PER_SCAN
  40. # define QMK_KEYS_PER_SCAN 4
  41. #endif // !QMK_KEYS_PER_SCAN
  42. #if defined(LEADER_ENABLE)
  43. # define LEADER_PER_KEY_TIMING
  44. # define LEADER_TIMEOUT 250
  45. #endif // !LEADER_ENABLE
  46. #if defined(COMBO_ENABLE)
  47. # define COMBO_COUNT 4
  48. # define COMBO_TERM 150
  49. #endif // !COMBO_ENABLE
  50. #if defined(NKRO_ENABLE)
  51. # define FORCE_NKRO
  52. #endif // !NKRO_ENABLE
  53. // this makes it possible to do rolling combos (zx) with keys that
  54. // convert to other keys on hold (z becomes ctrl when you hold it,
  55. // and when this option isn't enabled, z rapidly followed by x
  56. // actually sends Ctrl-x. That's bad.)
  57. #define IGNORE_MOD_TAP_INTERRUPT
  58. #undef PERMISSIVE_HOLD
  59. //#define TAPPING_FORCE_HOLD
  60. //#define RETRO_TAPPING
  61. #ifndef TAPPING_TOGGLE
  62. # define TAPPING_TOGGLE 1
  63. #endif
  64. #ifdef TAPPING_TERM
  65. # undef TAPPING_TERM
  66. #endif // !TAPPING_TERM
  67. #if defined(KEYBOARD_handwired_kuchosauronad0_planckenstein)
  68. # define TAPPING_TERM 185
  69. #elif defined(KEYBOARD_c39)
  70. # define TAPPING_TERM 200
  71. #else
  72. # define TAPPING_TERM 180
  73. #endif
  74. #define TAP_CODE_DELAY 5
  75. #define MACRO_TIMER 5