From b7bb92396286b495e48864b5813e7dafcade93f5 Mon Sep 17 00:00:00 2001 From: Kenneth Aloysius Date: Tue, 17 Oct 2017 10:31:39 +1100 Subject: Add NIU Mini from KBDFans (#1847) * Add NIU Mini keymap from Planck keymap * Remove old keymap files * Fix README, removed Planck references * Add default layout, move Planck layout to separate folder * Update README --- keyboards/niu_mini/keymaps/planck/config.h | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 keyboards/niu_mini/keymaps/planck/config.h (limited to 'keyboards/niu_mini/keymaps/planck/config.h') diff --git a/keyboards/niu_mini/keymaps/planck/config.h b/keyboards/niu_mini/keymaps/planck/config.h new file mode 100644 index 0000000000..26387986dd --- /dev/null +++ b/keyboards/niu_mini/keymaps/planck/config.h @@ -0,0 +1,32 @@ +#ifndef CONFIG_USER_H +#define CONFIG_USER_H + +#include "../../config.h" + +#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 -- cgit v1.2.3