diff options
author | Kenneth Aloysius <krusli@users.noreply.github.com> | 2017-10-17 10:31:39 +1100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-16 13:31:39 -1000 |
commit | b7bb92396286b495e48864b5813e7dafcade93f5 (patch) | |
tree | 746a47586fa93610ef2aebd49954d35e3285f8b5 /keyboards/niu_mini/keymaps/planck/config.h | |
parent | 0f5928fdf4399f14a500a00936a2cc35225cd3bf (diff) | |
download | qmk_firmware-b7bb92396286b495e48864b5813e7dafcade93f5.tar.gz qmk_firmware-b7bb92396286b495e48864b5813e7dafcade93f5.zip |
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
Diffstat (limited to 'keyboards/niu_mini/keymaps/planck/config.h')
-rw-r--r-- | keyboards/niu_mini/keymaps/planck/config.h | 32 |
1 files changed, 32 insertions, 0 deletions
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 |