mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-22 17:39:55 +00:00
a64ae10662
Update existing keymaps to enable MIDI_BASIC functionality. Also added an option MIDI_ENABLE_STRICT to be strict about keycode use (which also reduces memory footprint at runtime)
29 lines
638 B
C
29 lines
638 B
C
#ifndef CONFIG_USER_H
|
|
#define CONFIG_USER_H
|
|
|
|
#include "../../config.h"
|
|
|
|
/*
|
|
* MIDI options
|
|
*/
|
|
|
|
/* Prevent use of disabled MIDI features in the keymap */
|
|
//#define MIDI_ENABLE_STRICT 1
|
|
|
|
/* enable basic MIDI features:
|
|
- MIDI notes can be sent when in Music mode is on
|
|
*/
|
|
#define MIDI_BASIC
|
|
|
|
/* enable advanced MIDI features:
|
|
- MIDI notes can be added to the keymap
|
|
- Octave shift and transpose
|
|
- Virtual sustain, portamento, and modulation wheel
|
|
- etc.
|
|
*/
|
|
//#define MIDI_ADVANCED
|
|
|
|
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
|
|
//#define MIDI_TONE_KEYCODE_OCTAVES 2
|
|
|
|
#endif |