diff options
author | Merlin04 <Merlin04@users.noreply.github.com> | 2018-07-21 12:14:32 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-07-21 12:14:32 -0700 |
commit | 3fc5a05d663ae2ea960e16fa16e976f9dd70b0f2 (patch) | |
tree | 40d8ce346fe59f41e1cca3f609735fc6a2cd50da /keyboards/fractal/keymaps/default/config.h | |
parent | 1147fc24adfe22eac6e67f9d7f0f1184f358f141 (diff) | |
download | firmware-3fc5a05d663ae2ea960e16fa16e976f9dd70b0f2.tar.gz firmware-3fc5a05d663ae2ea960e16fa16e976f9dd70b0f2.tar.bz2 firmware-3fc5a05d663ae2ea960e16fa16e976f9dd70b0f2.zip |
Keyboard: Added support for the Fractal keyboard (#3457)
* Added support for the Fractal keyboard
* Try to fix the issue
* Add support for the Fractal keyboard.
* Fix errors with files
Diffstat (limited to 'keyboards/fractal/keymaps/default/config.h')
-rw-r--r-- | keyboards/fractal/keymaps/default/config.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/keyboards/fractal/keymaps/default/config.h b/keyboards/fractal/keymaps/default/config.h new file mode 100644 index 000000000..5c760681e --- /dev/null +++ b/keyboards/fractal/keymaps/default/config.h @@ -0,0 +1,38 @@ +#pragma once + +#ifdef AUDIO_ENABLE + #define STARTUP_SONG SONG(PLANCK_SOUND) + // #define STARTUP_SONG SONG(NO_SOUND) + + #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \ + SONG(COLEMAK_SOUND), \ + SONG(DVORAK_SOUND) \ + } +#endif + +#define MUSIC_MASK (keycode != KC_NO) + +/* + * 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 + |