summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode/process_steno.h
diff options
context:
space:
mode:
authorJoe Wasson <jwasson+github@gmail.com>2017-07-26 23:41:39 +0200
committerJack Humbert <jack.humb@gmail.com>2017-07-27 22:10:36 +0200
commit5987f67989c1b8f5fbd108d4dae21a227bc2f99c (patch)
tree32bee84bf7265d0fce7c924db38021b08ea5cbb2 /quantum/process_keycode/process_steno.h
parentcefc09ae7dd88cd6b92412881888404da1abdfcb (diff)
downloadqmk_firmware-5987f67989c1b8f5fbd108d4dae21a227bc2f99c.tar.gz
qmk_firmware-5987f67989c1b8f5fbd108d4dae21a227bc2f99c.tar.xz
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 'quantum/process_keycode/process_steno.h')
-rw-r--r--quantum/process_keycode/process_steno.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_steno.h b/quantum/process_keycode/process_steno.h
new file mode 100644
index 000000000..fb9b8e8ad
--- /dev/null
+++ b/quantum/process_keycode/process_steno.h
@@ -0,0 +1,12 @@
+#ifndef PROCESS_STENO_H
+#define PROCESS_STENO_H
+
+#include "quantum.h"
+
+#if defined(STENO_ENABLE) && !defined(VIRTSER_ENABLE)
+ #error "must have virtser enabled to use steno"
+#endif
+
+bool process_steno(uint16_t keycode, keyrecord_t *record);
+
+#endif \ No newline at end of file