summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/grahampheath/config.h
diff options
context:
space:
mode:
authorGraham P Heath <graham.p.heath@gmail.com>2018-02-23 12:15:34 -0600
committerJack Humbert <jack.humb@gmail.com>2018-02-23 13:15:34 -0500
commitf7461748744c1e3a5bae3b7a54d5b0d8439606e6 (patch)
tree2be896601415981f29b1c0fdc6a2b14165aaa713 /keyboards/planck/keymaps/grahampheath/config.h
parenta8daf3ffba0606d3e80dc5f12d2da336305aed0d (diff)
Graham's Keymaps. (#2422)
* add my config * fix backlight, clean up that code * group background code, restore static var * qwerty is supposed to be in the middle * wrap layer change backlight in ifdef * backlight levels and some more 'emojis'. * Restructure to make it possible to press cmd ent on the right side of the board with one hand. * Expose the period through the number layer. Add Hyper keys to mouse layer * reduce mouse speed * add a : -P key * Thumbs up and down, remove some keys that are duplicated via function keys, clean up * fix build issues * add various emoji * duplicate default Meira keymaps * Miera updates * add documented but unmapped emoji * Sound for the Meira, was stumped by a file size! Thanks drashna! * add docs * docs * revert lib changes... * clean up * clean up * remove make file * Fixes missing key
Diffstat (limited to 'keyboards/planck/keymaps/grahampheath/config.h')
-rw-r--r--keyboards/planck/keymaps/grahampheath/config.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/grahampheath/config.h b/keyboards/planck/keymaps/grahampheath/config.h
new file mode 100644
index 0000000000..1c842420bb
--- /dev/null
+++ b/keyboards/planck/keymaps/grahampheath/config.h
@@ -0,0 +1,51 @@
+#ifndef CONFIG_USER_H
+#define CONFIG_USER_H
+
+#include "../../config.h"
+
+#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
+
+#endif
+
+#define TAPPING_TERM 200
+
+#undef BACKLIGHT_LEVELS
+#define BACKLIGHT_LEVELS 4
+
+#undef MOUSEKEY_WHEEL_MAX_SPEED
+#define MOUSEKEY_WHEEL_MAX_SPEED 5
+