logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (907B)


  1. // Copyright QMK Community
  2. // SPDX-License-Identifier: GPL-2.0+
  3. #pragma once
  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 MUSIC_MASK (keycode != KC_NO)
  13. /*
  14. * MIDI options
  15. */
  16. /* enable basic MIDI features:
  17. - MIDI notes can be sent when in Music mode is on
  18. */
  19. #define MIDI_BASIC
  20. /* enable advanced MIDI features:
  21. - MIDI notes can be added to the keymap
  22. - Octave shift and transpose
  23. - Virtual sustain, portamento, and modulation wheel
  24. - etc.
  25. */
  26. //#define MIDI_ADVANCED
  27. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  28. //#define MIDI_TONE_KEYCODE_OCTAVES 2