aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/planck/keymaps/smittey/config.h
diff options
context:
space:
mode:
authorGravatar Andy Smith <andy_smithy@hotmail.co.uk>2019-10-19 01:21:40 +0100
committerGravatar Drashna Jaelre <drashna@live.com>2019-10-18 17:21:40 -0700
commit5b311965f86a0f833bfe9149436b98d640fa4eef (patch)
tree60fae982706af5172fc9665df41f0cd8cc97aa88 /keyboards/planck/keymaps/smittey/config.h
parent22cc56bc975a8fde45fd08a7ed20897cf3a465c8 (diff)
downloadqmk_firmware-5b311965f86a0f833bfe9149436b98d640fa4eef.tar.gz
[Keymap] Custom Planck layout for the Planck (#7036)
* Version 1 of keymappings * Adding updated keymappings * Adding hash/pound symbol to layer * Removing broken macros * Adding to readme. Amending value of pound sign * Changing language in readme * Addressing PR comments. Removing unneeded code, corrected syntax * Removing commented out code and fixing white space issues * Small clean up to readme
Diffstat (limited to 'keyboards/planck/keymaps/smittey/config.h')
-rw-r--r--keyboards/planck/keymaps/smittey/config.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/smittey/config.h b/keyboards/planck/keymaps/smittey/config.h
new file mode 100644
index 000000000..17ffcca38
--- /dev/null
+++ b/keyboards/planck/keymaps/smittey/config.h
@@ -0,0 +1,16 @@
+#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 MIDI_BASIC
+
+// Most tactile encoders have detents every 4 stages
+#define ENCODER_RESOLUTION 4