aboutsummaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/synth_wavetable/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/planck/keymaps/synth_wavetable/config.h')
-rw-r--r--keyboards/planck/keymaps/synth_wavetable/config.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/synth_wavetable/config.h b/keyboards/planck/keymaps/synth_wavetable/config.h
new file mode 100644
index 000000000..930b26b00
--- /dev/null
+++ b/keyboards/planck/keymaps/synth_wavetable/config.h
@@ -0,0 +1,56 @@
1/*
2Copyright 2020 Jack Humbert
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#ifdef AUDIO_ENABLE
21 #define AUDIO_PIN A5
22 #define STARTUP_SONG SONG(PLANCK_SOUND)
23 // #define STARTUP_SONG SONG(NO_SOUND)
24
25 #define DEFAULT_LAYER_SONGS { SONG(QWERTY_SOUND), \
26 SONG(COLEMAK_SOUND), \
27 SONG(DVORAK_SOUND) \
28 }
29#endif
30
31/*
32 * MIDI options
33 */
34
35/* Prevent use of disabled MIDI features in the keymap */
36//#define MIDI_ENABLE_STRICT 1
37
38/* enable basic MIDI features:
39 - MIDI notes can be sent when in Music mode is on
40*/
41
42#define MIDI_BASIC
43
44/* enable advanced MIDI features:
45 - MIDI notes can be added to the keymap
46 - Octave shift and transpose
47 - Virtual sustain, portamento, and modulation wheel
48 - etc.
49*/
50//#define MIDI_ADVANCED
51
52/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
53//#define MIDI_TONE_KEYCODE_OCTAVES 2
54
55// Most tactile encoders have detents every 4 stages
56#define ENCODER_RESOLUTION 4