diff options
author | Joe Wasson <jwasson+github@gmail.com> | 2017-07-26 21:51:41 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-27 16:10:36 -0400 |
commit | f30f12ec8122b7c025ff83c5e38e171c4107052b (patch) | |
tree | eebbac46d723f8adea852275c4ea37e2dfe06183 /quantum/process_keycode/process_steno.h | |
parent | 5987f67989c1b8f5fbd108d4dae21a227bc2f99c (diff) | |
download | firmware-f30f12ec8122b7c025ff83c5e38e171c4107052b.tar.gz firmware-f30f12ec8122b7c025ff83c5e38e171c4107052b.tar.bz2 firmware-f30f12ec8122b7c025ff83c5e38e171c4107052b.zip |
Add support for GeminiPR steno protocol.
This protocol breaks out "duplicate" keys into their own entry in the packet so that more complicated logic can be done on the software side, including support for additional languages and alternative theories.
Diffstat (limited to 'quantum/process_keycode/process_steno.h')
-rw-r--r-- | quantum/process_keycode/process_steno.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/process_keycode/process_steno.h b/quantum/process_keycode/process_steno.h index fb9b8e8ad..abd1d466c 100644 --- a/quantum/process_keycode/process_steno.h +++ b/quantum/process_keycode/process_steno.h @@ -7,6 +7,10 @@ #error "must have virtser enabled to use steno" #endif +typedef enum { STENO_MODE_BOLT, STENO_MODE_GEMINI } steno_mode_t; + bool process_steno(uint16_t keycode, keyrecord_t *record); +void steno_init(void); +void steno_set_mode(steno_mode_t mode); #endif
\ No newline at end of file |