bepo.h 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. #pragma once
  2. /*
  3. Copyright 2018-2022 Eric Gebhart <e.a.gebhart@gmail.com>
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 2 of the License, or
  7. (at your option) any later version.
  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. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. // Maps based on BEPO Mostly 3x12
  16. // BEAKL 19bis - English with French optimisations.
  17. // Least used letters in french xzykw QJÀ are fairly high.
  18. // XZ are good choices for pushing out, from english and french,
  19. // or using chords in both languages.
  20. // Note: The percentages came from different sources so do not
  21. // match between languages.
  22. // French
  23. /* Q 0.89 % */
  24. /* J 0.71 % */
  25. /* À 0.54 % */
  26. /*-------------*/
  27. /* X 0.42 % */
  28. /* È 0.35 % */
  29. /* Ê 0.24 % */
  30. /* Z 0.21 % */
  31. /* Y 0.19 % */
  32. /* K 0.16 % */
  33. /* Ô 0.07 % */
  34. /* Û 0.05 % */
  35. /* W 0.04 % */
  36. /* Least used letters in english. */
  37. /* X 0.2902% 1.48 */
  38. /* Z 0.2722% 1.39 */
  39. /* J 0.1965% 1.00 */
  40. /* Q 0.1962% (1) */
  41. // OPtimot by @Pyjam.
  42. /* àjoéb fdl’qxz */
  43. /* aieu, ptsrn^ç */
  44. /* êkyè.w gcmhvz */
  45. // -- rearranged z, and ç to get 3x12
  46. #define CARTE_OPTIMOT \
  47. carte_de_map(" çàjoéb fdl’qx ", \
  48. " aieu, ptsrn^ ", \
  49. " êkyè.w gcmhvz ")
  50. #define ___OPTIMOT_3x12___ \
  51. LANG_MAP6( \
  52. _CCED, _AGRV, _J, _O, _EACU, _B, _F, _D, _L, _QUOT, _Q, _X, \
  53. _TAB, _A, _I, _E, _U, _COMM, _P, _T, _S, _R, _N, _DCIR, \
  54. _ECIR, _K, _Y, _EGRV, _DOT, _W, _G, _C, _M, _H, _V, _Z)
  55. // no z or x. combos exist for them.
  56. #define CARTE_OPTIMOT_COMPACT \
  57. carte_de_map(" àjoéb fdl’q ", \
  58. " aieu, ptsrn ", \
  59. " kyè.w gcmhv ")
  60. #define ___OPTIMOT_3x10___ \
  61. LANG_MAP6( \
  62. _AGRV, _J, _O, _EACU, _B, _F, _D, _L, _QUOT, _Q, \
  63. _A, _I, _E, _U, _COMM, _P, _T, _S, _R, _N, \
  64. _K, _Y, _EGRV, _DOT, _W, _G, _C, _M, _H, _V,)
  65. // Maybe Use this for C
  66. //BP_C_CCED = MT(BP_CCED, BP_C)
  67. // BEPO
  68. // No quot, à or ç
  69. /* bépoè vdljz */
  70. /* auie, ctsrn */
  71. /* myx.k qghfw */
  72. #define CARTE_BEPOc \
  73. carte_de_map(" bépoè vdljz", \
  74. " auie, ctsrn", \
  75. " myx.k qghfw")
  76. #define ___BEPOc_3x10___ \
  77. LANG_MAP( \
  78. _B, _EACU, _P, _O, _EGRV, _V, _D, _L, _J, _Z, \
  79. _A, _U, _I, _E, _COMM, _C, _T, _S, _R, _N, \
  80. _M, _Y, _X, _DOT, _K, _Q, _G, _H, _F, _W)
  81. #define CARTE_BEPO \
  82. carte_de_map(" çbépoè ^vdljz ", \
  83. " auie, ctsrnm ", \
  84. " êàyx.k ’qghfw ")
  85. #define ___BEPO_3x12___ \
  86. LANG_MAP6(_CCED, _B, _EACU, _P, _O, _EGRV, _DCIR, _V, _D, _L, _J, _Z, \
  87. _TAB, _A, _U, _I, _E, _COMM, _C, _T, _S, _R, _N, _M, \
  88. _ECIR, _AGRV, _Y, _X, _DOT, _K, _QUOT, _Q, _G, _H, _F, _W)
  89. // dont like this one much.
  90. /* #define ___GODOX_3x12___ \ */
  91. /* LANG_MAP6(___, _AGRV, _B, _EACU, _dot, _mins, _DCIR, _V, _L, _M, _X, _CCED, \ */
  92. /* ___, _O, _U, _I, _A, _J, _G, _T, _S, _N, _R, _F, \ */
  93. /* ___, _Q, _Y, _EGRV, _P, _K, _W, _D, _UP, _H, _C, _Z) */
  94. /* // E goes on left thumb. */