Advertisement
snowe2010

config.h

Jan 13th, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.10 KB | None | 0 0
  1. #ifndef CONFIG_USER_H
  2. #define CONFIG_USER_H
  3.  
  4. #include "../../config.h"
  5.  
  6. //#define PERMISSIVE_HOLD
  7. //#define TAPPING_TERM    300
  8. //#define IGNORE_MOD_TAP_INTERRUPT
  9.  
  10. #ifdef AUDIO_ENABLE
  11. #define STARTUP_SONG SONG(PLANCK_SOUND)
  12.     // #define STARTUP_SONG SONG(NO_SOUND)
  13.  
  14.     #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
  15.                                   SONG(COLEMAK_SOUND), \
  16.                                   SONG(DVORAK_SOUND) \
  17.                                 }
  18. #endif
  19.  
  20. #define MUSIC_MASK (keycode != KC_NO)
  21.  
  22. /*
  23.  * MIDI options
  24.  */
  25.  
  26. /* Prevent use of disabled MIDI features in the keymap */
  27. //#define MIDI_ENABLE_STRICT 1
  28.  
  29. /* enable basic MIDI features:
  30.    - MIDI notes can be sent when in Music mode is on
  31. */
  32.  
  33. #define MIDI_BASIC
  34.  
  35. /* enable advanced MIDI features:
  36.    - MIDI notes can be added to the keymap
  37.    - Octave shift and transpose
  38.    - Virtual sustain, portamento, and modulation wheel
  39.    - etc.
  40. */
  41. //#define MIDI_ADVANCED
  42.  
  43. /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
  44. //#define MIDI_TONE_KEYCODE_OCTAVES 2
  45.  
  46. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement