summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/mattly/config.h
diff options
context:
space:
mode:
authorMatthew Lyon <matthew@lyonheart.us>2018-12-18 08:37:04 -0800
committerDrashna Jaelre <drashna@live.com>2018-12-18 08:37:03 -0800
commite59f331268e28657954bdc7aa2f2eab09796610b (patch)
tree575b05e978e0841ed313788d1e5bf1d4f2b91591 /keyboards/planck/keymaps/mattly/config.h
parent9eedaa88022f2e221ef3443ed35935e163b9ac95 (diff)
Keymap: @mattly's planck layout (#4678)
Diffstat (limited to 'keyboards/planck/keymaps/mattly/config.h')
-rw-r--r--keyboards/planck/keymaps/mattly/config.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/mattly/config.h b/keyboards/planck/keymaps/mattly/config.h
new file mode 100644
index 0000000000..52e39ec7f4
--- /dev/null
+++ b/keyboards/planck/keymaps/mattly/config.h
@@ -0,0 +1,43 @@
+#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
+
+#define IGNORE_MOD_TAP_INTERRUPT
+#define PERMISSIVE_HOLD
+#define TAPPING_TOGGLE 2
+#define TAPPING_TERM 200