keymap_steno.h 1.5 KB

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