summaryrefslogtreecommitdiffstats
path: root/keyboards/planck/keymaps/motform/config.h
diff options
context:
space:
mode:
authormotform <30436214+motform@users.noreply.github.com>2019-04-30 17:25:31 +0200
committerDrashna Jaelre <drashna@live.com>2019-04-30 17:25:31 +0200
commitb09dc19d3209a0e08f3d534b14d75d144b698558 (patch)
treeae279051e19ff47a16fb488912f21bda7e7f4951 /keyboards/planck/keymaps/motform/config.h
parentbb208f3e3b69fb154f4f78d7538ffa28482f232f (diff)
downloadqmk_firmware-b09dc19d3209a0e08f3d534b14d75d144b698558.tar.gz
qmk_firmware-b09dc19d3209a0e08f3d534b14d75d144b698558.tar.xz
[Keymap] Add motform planck keymap (swedish colemak) (#5734)
* [Keymap] Add motform planck keymap (swedish colemak) * Add readme and remove unused enums (thanks @drasha!)
Diffstat (limited to 'keyboards/planck/keymaps/motform/config.h')
-rw-r--r--keyboards/planck/keymaps/motform/config.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/motform/config.h b/keyboards/planck/keymaps/motform/config.h
new file mode 100644
index 000000000..6fa31cc8a
--- /dev/null
+++ b/keyboards/planck/keymaps/motform/config.h
@@ -0,0 +1,39 @@
+#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
+
+/*
+ * 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
+
+// Most tactile encoders have detents every 4 stages
+#define ENCODER_RESOLUTION 4
+