config.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #if defined(RGBLIGHT_ENABLE) && !defined(RGBLED_NUM)
  4. #define RGB_DI_PIN D3
  5. #define RGBLED_NUM 16 // Number of LEDs
  6. #define RGBLIGHT_ANIMATIONS
  7. #define RGBLIGHT_HUE_STEP 12
  8. #define RGBLIGHT_SAT_STEP 12
  9. #define RGBLIGHT_VAL_STEP 12
  10. #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 2
  11. #define RGBLIGHT_EFFECT_SNAKE_LENGTH 2
  12. #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
  13. #endif // RGBLIGHT_ENABLE
  14. #if defined(KEYBOARD_lets_split_rev2)
  15. #define USE_SERIAL
  16. #undef USE_I2C
  17. #define EE_HANDS
  18. #endif
  19. #if defined(KEYBOARD_planck_rev5)
  20. #ifdef RGBLIGHT_ENABLE
  21. #define NO_MUSIC_MODE
  22. #endif // RGBLIGHT_ENABLE
  23. #endif // KEYBOARD_planck_rev5
  24. /*
  25. * MIDI options
  26. */
  27. /* Prevent use of disabled MIDI features in the keymap */
  28. //#define MIDI_ENABLE_STRICT 1
  29. /* enable basic MIDI features:
  30. - MIDI notes can be sent when in Music mode is on
  31. */
  32. #define MIDI_BASIC
  33. /* enable advanced MIDI features:
  34. - MIDI notes can be added to the keymap
  35. - Octave shift and transpose
  36. - Virtual sustain, portamento, and modulation wheel
  37. - etc.
  38. */
  39. //#define MIDI_ADVANCED
  40. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  41. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  42. #endif