From 795c2c27b9cfe8fbda4f30e526dccfc1a5f774c2 Mon Sep 17 00:00:00 2001 From: martinmksiu Date: Wed, 27 Mar 2019 03:22:56 +0000 Subject: [Keymap] adding keymaps (#3583) * add key map * QWERTY with 40% layers * updated line 21 updated line 21 from "#include "xd75.h" to "#include QMK_KEYBOARD_H" as requested * upload contra folders * Update .directory * Update config.h * Update config.h * Update keymap.c * Update config.h * Update rules.mk * Update keyboards/contra/keymaps/martin_bac/config.h Co-Authored-By: martinmksiu * Update keyboards/xd75/keymaps/martin_cennum/config.h Co-Authored-By: martinmksiu * Delete .directory * upload * Delete rules.mk * Update keyboards/contra/keymaps/msiu/config.h Co-Authored-By: martinmksiu * Update keyboards/katana60/keymaps/msiu/config.h Co-Authored-By: martinmksiu * Update keyboards/katana60/keymaps/msiu/config.h Co-Authored-By: martinmksiu * Update keyboards/katana60/keymaps/msiu/config.h Co-Authored-By: martinmksiu * Update keyboards/katana60/keymaps/msiu/config.h Co-Authored-By: martinmksiu * Delete nano.save * Delete rules.mk * Update keymap.c * Update keymap.c * Update config.h * Update keyboards/lets_split_eh/keymaps/msiu/keymap.c Co-Authored-By: martinmksiu * Update keyboards/lets_split_eh/keymaps/msiu/keymap.c Co-Authored-By: martinmksiu * Update keymap.c * Update keyboards/planck/keymaps/msiu/config.h Co-Authored-By: martinmksiu * Apply suggestions from code review Co-Authored-By: martinmksiu * Update keymap.c * Update readme.md * Update keymap.c --- keyboards/contra/keymaps/msiu/config.h | 37 ++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 keyboards/contra/keymaps/msiu/config.h (limited to 'keyboards/contra/keymaps/msiu/config.h') diff --git a/keyboards/contra/keymaps/msiu/config.h b/keyboards/contra/keymaps/msiu/config.h new file mode 100644 index 000000000..8757eb70d --- /dev/null +++ b/keyboards/contra/keymaps/msiu/config.h @@ -0,0 +1,37 @@ +#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 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 -- cgit v1.2.3-70-g09d2