From 1477440ba0e57347a4b8be0f137f7ced373b3325 Mon Sep 17 00:00:00 2001 From: peepeetee <43021794+peepeetee@users.noreply.github.com> Date: Tue, 1 Feb 2022 10:12:39 +0800 Subject: [Keyboard] move niu_mini to /kbdfans (#16112) --- keyboards/kbdfans/niu_mini/keymaps/planck/config.h | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 keyboards/kbdfans/niu_mini/keymaps/planck/config.h (limited to 'keyboards/kbdfans/niu_mini/keymaps/planck/config.h') diff --git a/keyboards/kbdfans/niu_mini/keymaps/planck/config.h b/keyboards/kbdfans/niu_mini/keymaps/planck/config.h new file mode 100644 index 0000000000..0c42bb5060 --- /dev/null +++ b/keyboards/kbdfans/niu_mini/keymaps/planck/config.h @@ -0,0 +1,29 @@ +#ifndef CONFIG_USER_H +#define CONFIG_USER_H + +#include "../../config.h" + +#define MUSIC_MASK (keycode != KC_NO) + +/* + * MIDI options + */ + +/* 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.1