config.h 1.2 KB

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