diff options
author | Joe Wasson <jwasson+github@gmail.com> | 2017-07-26 14:41:39 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-27 16:10:36 -0400 |
commit | 5987f67989c1b8f5fbd108d4dae21a227bc2f99c (patch) | |
tree | 32bee84bf7265d0fce7c924db38021b08ea5cbb2 /keyboards/planck/keymaps/steno/config.h | |
parent | cefc09ae7dd88cd6b92412881888404da1abdfcb (diff) | |
download | firmware-5987f67989c1b8f5fbd108d4dae21a227bc2f99c.tar.gz firmware-5987f67989c1b8f5fbd108d4dae21a227bc2f99c.tar.bz2 firmware-5987f67989c1b8f5fbd108d4dae21a227bc2f99c.zip |
Add TX Bolt protocol support for Stenography
Requires virtser; Allows QMK to speak the TX BOlt protocol used by stenography machines and software (such as Plover). The upside is that Plover can be configured to listen only to TX Bolt allow the keyboard to switch layers without need to enable/disable the Plover software, or to have a second non-Steno keyboard work concurrently.
Diffstat (limited to 'keyboards/planck/keymaps/steno/config.h')
-rw-r--r-- | keyboards/planck/keymaps/steno/config.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/keyboards/planck/keymaps/steno/config.h b/keyboards/planck/keymaps/steno/config.h new file mode 100644 index 000000000..1879ab007 --- /dev/null +++ b/keyboards/planck/keymaps/steno/config.h @@ -0,0 +1,44 @@ +#ifndef CONFIG_USER_H +#define CONFIG_USER_H + +#include "../../config.h" + +#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) + +#define PREVENT_STUCK_MODIFIERS + +/* + * 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
\ No newline at end of file |