You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
1.8 KiB

  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. #pragma once
  17. #include "keymap.h"
  18. // List of keycodes for the steno keyboard. To prevent
  19. // errors, this must be <= 42 total entries in order to
  20. // support the GeminiPR protocol.
  21. enum steno_keycodes {
  22. STN__MIN = QK_STENO,
  23. STN_FN = STN__MIN,
  24. STN_NUM,
  25. STN_N1 = STN_NUM,
  26. STN_N2,
  27. STN_N3,
  28. STN_N4,
  29. STN_N5,
  30. STN_N6,
  31. STN_SL,
  32. STN_S1 = STN_SL,
  33. STN_S2,
  34. STN_TL,
  35. STN_KL,
  36. STN_PL,
  37. STN_WL,
  38. STN_HL,
  39. STN_RL,
  40. STN_A,
  41. STN_O,
  42. STN_STR,
  43. STN_ST1 = STN_STR,
  44. STN_ST2,
  45. STN_RES1,
  46. STN_RE1 = STN_RES1,
  47. STN_RES2,
  48. STN_RE2 = STN_RES2,
  49. STN_PWR,
  50. STN_ST3,
  51. STN_ST4,
  52. STN_E,
  53. STN_U,
  54. STN_FR,
  55. STN_RR,
  56. STN_PR,
  57. STN_BR,
  58. STN_LR,
  59. STN_GR,
  60. STN_TR,
  61. STN_SR,
  62. STN_DR,
  63. STN_N7,
  64. STN_N8,
  65. STN_N9,
  66. STN_NA,
  67. STN_NB,
  68. STN_NC,
  69. STN_ZR,
  70. STN__MAX = STN_ZR, // must be less than QK_STENO_BOLT
  71. };
  72. #ifdef STENO_COMBINEDMAP
  73. enum steno_combined_keycodes {
  74. STN_S3 = QK_STENO_COMB,
  75. STN_TKL,
  76. STN_PWL,
  77. STN_HRL,
  78. STN_FRR,
  79. STN_PBR,
  80. STN_LGR,
  81. STN_TSR,
  82. STN_DZR,
  83. STN_AO,
  84. STN_EU,
  85. STN_COMB_MAX = STN_EU,
  86. };
  87. #endif