diff options
Diffstat (limited to 'quantum/keymap_extras/keymap_steno.h')
| -rw-r--r-- | quantum/keymap_extras/keymap_steno.h | 76 |
1 files changed, 76 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..4ce91cc13 --- /dev/null +++ b/quantum/keymap_extras/keymap_steno.h | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | |||
| 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. | ||
| 24 | enum steno_keycodes { | ||
| 25 | STN__MIN = QK_STENO, | ||
| 26 | STN_FN = STN__MIN, | ||
| 27 | STN_NUM, | ||
| 28 | STN_N1 = STN_NUM, | ||
| 29 | STN_N2, | ||
| 30 | STN_N3, | ||
| 31 | STN_N4, | ||
| 32 | STN_N5, | ||
| 33 | STN_N6, | ||
| 34 | STN_SL, | ||
| 35 | STN_S1 = STN_SL, | ||
| 36 | STN_S2, | ||
| 37 | STN_TL, | ||
| 38 | STN_KL, | ||
| 39 | STN_PL, | ||
| 40 | STN_WL, | ||
| 41 | STN_HL, | ||
| 42 | STN_RL, | ||
| 43 | STN_A, | ||
| 44 | STN_O, | ||
| 45 | STN_STR, | ||
| 46 | STN_ST1 = STN_STR, | ||
| 47 | STN_ST2, | ||
| 48 | STN_RES1, | ||
| 49 | STN_RE1 = STN_RES1, | ||
| 50 | STN_RES2, | ||
| 51 | STN_RE2 = STN_RES2, | ||
| 52 | STN_PWR, | ||
| 53 | STN_ST3, | ||
| 54 | STN_ST4, | ||
| 55 | STN_E, | ||
| 56 | STN_U, | ||
| 57 | STN_FR, | ||
| 58 | STN_RR, | ||
| 59 | STN_PR, | ||
| 60 | STN_BR, | ||
| 61 | STN_LR, | ||
| 62 | STN_GR, | ||
| 63 | STN_TR, | ||
| 64 | STN_SR, | ||
| 65 | STN_DR, | ||
| 66 | STN_N7, | ||
| 67 | STN_N8, | ||
| 68 | STN_N9, | ||
| 69 | STN_NA, | ||
| 70 | STN_NB, | ||
| 71 | STN_NC, | ||
| 72 | STN_ZR, | ||
| 73 | STN__MAX = STN_ZR, // must be less than QK_STENO_BOLT | ||
| 74 | }; | ||
| 75 | |||
| 76 | #endif | ||
