config.h 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. #pragma once
  2. #define TAPPING_TERM 200
  3. #define IGNORE_MOD_TAP_INTERRUPT
  4. /* Leader Key
  5. ========================================================================== */
  6. // Activates the leader key
  7. // #define LEADER_PER_KEY_TIMING
  8. // resets the timeout after each key is tapped
  9. // #define LEADER_TIMEOUT 240
  10. /* Autoshifting
  11. ========================================================================== */
  12. // This controls how long you have to hold a key before you get the shifted state.
  13. #define AUTO_SHIFT_TIMEOUT 150
  14. // Do not Auto Shift special keys -_, =+, [{, ]}, ;:, '", ,<, .>, and /?
  15. // #define NO_AUTO_SHIFT_SPECIAL
  16. // Do not Auto Shift numeric keys, zero through nine.
  17. #define NO_AUTO_SHIFT_NUMERIC
  18. // Do not Auto Shift alpha characters, which include A through Z.
  19. // #define NO_AUTO_SHIFT_ALPHA
  20. // Lower the Auto Shift timeout variable (down)
  21. // AS_DOWN
  22. // Raise the Auto Shift timeout variable (up)
  23. // AS_UP
  24. // Report your current Auto Shift timeout value
  25. // AS_RPT
  26. // Turns on the Auto Shift Function
  27. // AS_ON
  28. // Turns off the Auto Shift Function
  29. // AS_OFF
  30. // Toggles the state of the Auto Shift feature
  31. // AS_TOGG
  32. #ifdef AUDIO_ENABLE
  33. #define STARTUP_SONG SONG(COIN_SOUND)
  34. // #define STARTUP_SONG SONG(NO_SOUND)
  35. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  36. SONG(COLEMAK_SOUND), \
  37. SONG(DVORAK_SOUND) \
  38. }
  39. #endif
  40. #define MUSIC_MASK (keycode != KC_NO)
  41. /*
  42. * MIDI options
  43. */
  44. /* enable basic MIDI features:
  45. - MIDI notes can be sent when in Music mode is on
  46. */
  47. #define MIDI_BASIC
  48. /* enable advanced MIDI features:
  49. - MIDI notes can be added to the keymap
  50. - Octave shift and transpose
  51. - Virtual sustain, portamento, and modulation wheel
  52. - etc.
  53. */
  54. //#define MIDI_ADVANCED
  55. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  56. //#define MIDI_TONE_KEYCODE_OCTAVES 2