config.h 625 B

123456789101112131415161718192021222324252627282930
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3. #include "../../config.h"
  4. /*
  5. * MIDI options
  6. */
  7. /* enable basic MIDI features:
  8. - MIDI notes can be sent when in Music mode is on
  9. */
  10. // #define MIDI_BASIC
  11. /* enable advanced MIDI features:
  12. - MIDI notes can be added to the keymap
  13. - Octave shift and transpose
  14. - Virtual sustain, portamento, and modulation wheel
  15. - etc.
  16. */
  17. //#define MIDI_ADVANCED
  18. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  19. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  20. // fix iPhone power adapter issue
  21. #define USB_MAX_POWER_CONSUMPTION 50
  22. #endif