aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/preonic/keymaps/pitty/config.h
diff options
context:
space:
mode:
authorPittyolo <kovacspitti@gmail.com>2019-10-08 20:26:17 +0200
committerDrashna Jaelre <drashna@live.com>2019-10-08 11:26:17 -0700
commit89fe8d2d8727574f6d1fa8f56a0ab35aa4b0245c (patch)
treeea8bf73fc91df17bfe12d489f729bb828b70c9b8 /keyboards/preonic/keymaps/pitty/config.h
parent9fe7b406cb43e334d588e69b14c3fa41ae4c4925 (diff)
downloadfirmware-89fe8d2d8727574f6d1fa8f56a0ab35aa4b0245c.tar.gz
firmware-89fe8d2d8727574f6d1fa8f56a0ab35aa4b0245c.tar.bz2
firmware-89fe8d2d8727574f6d1fa8f56a0ab35aa4b0245c.zip
[Keymap] Adding my keymaps for Preonic and XD75 (#6874)
* Added my keymaps * Update to readmes * Update keyboards/preonic/keymaps/pitty/config.h Thanks! Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/preonic/keymaps/pitty/config.h Thanks! Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/preonic/keymaps/pitty/config.h Thanks! Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update config.h * Update keyboards/preonic/keymaps/pitty/keymap.c Thanks! Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Removed copyrighted material * Update keyboards/xd75/keymaps/pitty/keymap.c Thanks! Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update config.h * Update config.h * Update config.h * Update keymap.c * Update keymap.c * Update config.h * Update keymap.c * Update keyboards/preonic/keymaps/pitty/config.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com> * Update keyboards/preonic/keymaps/pitty/config.h Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/preonic/keymaps/pitty/config.h')
-rw-r--r--keyboards/preonic/keymaps/pitty/config.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/keyboards/preonic/keymaps/pitty/config.h b/keyboards/preonic/keymaps/pitty/config.h
new file mode 100644
index 000000000..f87dd8f30
--- /dev/null
+++ b/keyboards/preonic/keymaps/pitty/config.h
@@ -0,0 +1,40 @@
+#pragma once
+
+#ifdef AUDIO_ENABLE
+
+
+# define STARTUP_SONG SONG(PREONIC_SOUND)
+# define GOODBYE_SONG SONG(STARTUP_SOUND)
+# define MUSIC_ON_SONG SONG(TERMINAL_SOUND)
+#endif
+
+#undef TEMPO_DEFAULT
+
+#define TEMPO_DEFAULT 200
+
+
+/*
+ * 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
+
+