aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_steno.h
diff options
context:
space:
mode:
authorJoe Wasson <jwasson+github@gmail.com>2017-07-26 21:51:41 -0700
committerJack Humbert <jack.humb@gmail.com>2017-07-27 16:10:36 -0400
commitf30f12ec8122b7c025ff83c5e38e171c4107052b (patch)
treeeebbac46d723f8adea852275c4ea37e2dfe06183 /quantum/keymap_extras/keymap_steno.h
parent5987f67989c1b8f5fbd108d4dae21a227bc2f99c (diff)
downloadqmk_firmware-f30f12ec8122b7c025ff83c5e38e171c4107052b.tar.gz
qmk_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/keymap_extras/keymap_steno.h')
-rw-r--r--quantum/keymap_extras/keymap_steno.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/quantum/keymap_extras/keymap_steno.h b/quantum/keymap_extras/keymap_steno.h
index 4eb1c7477..4ce91cc13 100644
--- a/quantum/keymap_extras/keymap_steno.h
+++ b/quantum/keymap_extras/keymap_steno.h
@@ -18,8 +18,12 @@
18 18
19#include "keymap.h" 19#include "keymap.h"
20 20
21// List of keycodes for the steno keyboard. To prevent
22// errors, this must be <= 42 total entries in order to
23// support the GeminiPR protocol.
21enum steno_keycodes { 24enum steno_keycodes {
22 STN_FN = QK_STENO, 25 STN__MIN = QK_STENO,
26 STN_FN = STN__MIN,
23 STN_NUM, 27 STN_NUM,
24 STN_N1 = STN_NUM, 28 STN_N1 = STN_NUM,
25 STN_N2, 29 STN_N2,
@@ -65,7 +69,8 @@ enum steno_keycodes {
65 STN_NA, 69 STN_NA,
66 STN_NB, 70 STN_NB,
67 STN_NC, 71 STN_NC,
68 STN_ZR 72 STN_ZR,
73 STN__MAX = STN_ZR, // must be less than QK_STENO_BOLT
69}; 74};
70 75
71#endif 76#endif