qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

config.h (907B)


      1 // Copyright QMK Community
      2 // SPDX-License-Identifier: GPL-2.0+
      3 
      4 #pragma once
      5 
      6 
      7 #ifdef AUDIO_ENABLE
      8     #define STARTUP_SONG SONG(PLANCK_SOUND)
      9     // #define STARTUP_SONG SONG(NO_SOUND)
     10 
     11     #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
     12                                   SONG(COLEMAK_SOUND), \
     13                                   SONG(DVORAK_SOUND) \
     14                                 }
     15 #endif
     16 
     17 #define MUSIC_MASK (keycode != KC_NO)
     18 
     19 /*
     20  * MIDI options
     21  */
     22 
     23 /* enable basic MIDI features:
     24    - MIDI notes can be sent when in Music mode is on
     25 */
     26 
     27 #define MIDI_BASIC
     28 
     29 /* enable advanced MIDI features:
     30    - MIDI notes can be added to the keymap
     31    - Octave shift and transpose
     32    - Virtual sustain, portamento, and modulation wheel
     33    - etc.
     34 */
     35 //#define MIDI_ADVANCED
     36 
     37 /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
     38 //#define MIDI_TONE_KEYCODE_OCTAVES 2