config.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #include "../../config.h"
  4. #undef WORKMAN_SOUND
  5. #define WORKMAN_SOUND COLEMAK_SOUND
  6. #ifdef AUDIO_ENABLE
  7. #define STARTUP_SONG SONG(PLANCK_SOUND)
  8. // #define STARTUP_SONG SONG(NO_SOUND)
  9. #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  10. SONG(COLEMAK_SOUND), \
  11. SONG(DVORAK_SOUND) \
  12. }
  13. #endif
  14. #define MUSIC_MASK (keycode != KC_NO)
  15. /*
  16. * MIDI options
  17. */
  18. /* enable basic MIDI features:
  19. - MIDI notes can be sent when in Music mode is on
  20. */
  21. // #define MIDI_BASIC
  22. /* enable advanced MIDI features:
  23. - MIDI notes can be added to the keymap
  24. - Octave shift and transpose
  25. - Virtual sustain, portamento, and modulation wheel
  26. - etc.
  27. */
  28. //#define MIDI_ADVANCED
  29. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  30. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  31. #define RGB_DI_PIN B2 // The pin the LED strip is connected to (PB2 by default)
  32. #define RGBLED_NUM 3 // Number of LEDs in your strip
  33. #define RGBLIGHT_ANIMATIONS
  34. #endif