config.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #include "config_common.h"
  4. #ifdef AUDIO_ENABLE
  5. #define STARTUP_SONG SONG(PLANCK_SOUND)
  6. // #define STARTUP_SONG SONG(NO_SOUND)
  7. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  8. SONG(COLEMAK_SOUND), \
  9. SONG(DVORAK_SOUND) \
  10. }
  11. #endif
  12. //#define LEADER_TIMEOUT 300
  13. //#define BACKLIGHT_BREATHING
  14. #define PREVENT_STUCK_MODIFIERS
  15. //#define PERMISSIVE_HOLD
  16. // #define QMK_KEYS_PER_SCAN 4
  17. //audio clicky
  18. //#define AUDIO_CLICKY
  19. // to enable clicky on startup
  20. //#define AUDIO_CLICKY_ON
  21. //#define AUDIO_CLICKY_FREQ_RANDOMNESS 1.0f
  22. /* ws2812 RGB LED
  23. #define RGB_DI_PIN B5
  24. #define RGBLIGHT_ANIMATIONS
  25. #define RGBLED_NUM 8 // Number of LEDs
  26. #define RGBLIGHT_HUE_STEP 10
  27. #define RGBLIGHT_SAT_STEP 17
  28. */
  29. #undef PLANCK_MIT_LAYOUT
  30. //#define MUON_LEFT
  31. #undef DEBOUNCE
  32. #define DEBOUNCE 0
  33. //rgb-reactive
  34. //#define RGB_MATRIX_KEYPRESSES
  35. //#define EECONFIG_RGB_MATRIX (uint32_t *)16
  36. //skip usb startup check
  37. //#define NO_USB_STARTUP_CHECK
  38. /*
  39. * MIDI options
  40. */
  41. /* Prevent use of disabled MIDI features in the keymap */
  42. //#define MIDI_ENABLE_STRICT 1
  43. /* enable basic MIDI features:
  44. - MIDI notes can be sent when in Music mode is on
  45. */
  46. #define MIDI_BASIC
  47. /* enable advanced MIDI features:
  48. - MIDI notes can be added to the keymap
  49. - Octave shift and transpose
  50. - Virtual sustain, portamento, and modulation wheel
  51. - etc.
  52. */
  53. //#define MIDI_ADVANCED
  54. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  55. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  56. // Most tactile encoders have detents every 4 stages
  57. #define ENCODER_RESOLUTION 4
  58. #endif