aboutsummaryrefslogtreecommitdiff
path: root/quantum/keymap_extras/keymap_steno.h
diff options
context:
space:
mode:
authorJoe Wasson <jwasson+github@gmail.com>2017-07-26 14:41:39 -0700
committerJack Humbert <jack.humb@gmail.com>2017-07-27 16:10:36 -0400
commit5987f67989c1b8f5fbd108d4dae21a227bc2f99c (patch)
tree32bee84bf7265d0fce7c924db38021b08ea5cbb2 /quantum/keymap_extras/keymap_steno.h
parentcefc09ae7dd88cd6b92412881888404da1abdfcb (diff)
downloadqmk_firmware-5987f67989c1b8f5fbd108d4dae21a227bc2f99c.tar.gz
qmk_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 'quantum/keymap_extras/keymap_steno.h')
-rw-r--r--quantum/keymap_extras/keymap_steno.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/quantum/keymap_extras/keymap_steno.h b/quantum/keymap_extras/keymap_steno.h
new file mode 100644
index 000000000..4eb1c7477
--- /dev/null
+++ b/quantum/keymap_extras/keymap_steno.h
@@ -0,0 +1,71 @@
1/* Copyright 2017 Joseph Wasson
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#ifndef KEYMAP_STENO_H
17#define KEYMAP_STENO_H
18
19#include "keymap.h"
20
21enum steno_keycodes {
22 STN_FN = QK_STENO,
23 STN_NUM,
24 STN_N1 = STN_NUM,
25 STN_N2,
26 STN_N3,
27 STN_N4,
28 STN_N5,
29 STN_N6,
30 STN_SL,
31 STN_S1 = STN_SL,
32 STN_S2,
33 STN_TL,
34 STN_KL,
35 STN_PL,
36 STN_WL,
37 STN_HL,
38 STN_RL,
39 STN_A,
40 STN_O,
41 STN_STR,
42 STN_ST1 = STN_STR,
43 STN_ST2,
44 STN_RES1,
45 STN_RE1 = STN_RES1,
46 STN_RES2,
47 STN_RE2 = STN_RES2,
48 STN_PWR,
49 STN_ST3,
50 STN_ST4,
51 STN_E,
52 STN_U,
53 STN_FR,
54 STN_RR,
55 STN_PR,
56 STN_BR,
57 STN_LR,
58 STN_GR,
59 STN_TR,
60 STN_SR,
61 STN_DR,
62 STN_N7,
63 STN_N8,
64 STN_N9,
65 STN_NA,
66 STN_NB,
67 STN_NC,
68 STN_ZR
69};
70
71#endif