accents.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. // probably best to have e and é on different fingers.
  16. // doesnt work, oled displays garbage
  17. /* #define CARTE_ACCENTED \ */
  18. /* carte_de_map(" æœêùì ¿ïüöë ", \ */
  19. /* " àôèéî ûçñß^", \ */
  20. /* " âöíúí ") */
  21. // need to figure out a better way to display these on the oled.
  22. #define CARTE_ACCENTED \
  23. carte_de_map(" aoeui ?iuoe ", \
  24. " aoeei ucnS^", \
  25. " aoiúi ")
  26. #define ___ACCENTED___ \
  27. LANG_MAP(_AE, _OE, _ECIR, _UGRV, _IGRV, _IQUE, _IIAE, _UIAE, _OIAE, _EIAE, \
  28. _AGRV, _OCIR, _EGRV, _EACU, _ICIR, _UCIR, _CCED, _NTIL, _SS, _DCIR, \
  29. _AACU, _ODIA, _IACU, _UACU, _IACU, _SPC, _SPC, _SPC , _SPC, _SPC)
  30. // A dead key layer, optimized for Most common,
  31. // western european.
  32. #define CARTE_MORTE \
  33. carte_de_map(" ˝˘̉ ̛ ˙° ", \
  34. "/`^´ ¸¨~¤", \
  35. " ,ˇ. ˛µ¯")
  36. #define ___MORTE___ \
  37. LANG_MAP(_, _DACU, _BREV, _HOKA, _, _, _HORN, _DOTA, _RNGA, _, \
  38. _DSLS, _DGRV, _DCIR, _ACUT, _, _, _CEDL, _DIAE, _DTIL, _CURR, \
  39. _, _DCMM, _CARN, _DOTB, _, _, _OGON, _DGRK, _MACR, _)
  40. // Just taking a guess and putting the things I know are most
  41. // used in easy to use places., not sure about ntil and ss, put
  42. // them in their dvorak spots on the home row.
  43. /* #define CARTE_ACCENTS_MORTE \ */
  44. /* carte_de_map(" æœêùì ¿`^´ë ", \ */
  45. /* " àôèéî ¸çñß~", \ */
  46. /* " âö,úí ¨ˇ° ") */
  47. #define CARTE_ACCENTS_MORTE \
  48. carte_de_map(" aoeui ?`^'e ", \
  49. " aoeei ,cnS~", \
  50. " ao,ui \"^o")
  51. #define ___ACCENTS_MORTE___ \
  52. LANG_MAP(_AE, _OE, _ECIR, _UGRV, _IGRV, _IQUE, _DGRV, _DCIR, _ACUT, _EIAE, \
  53. _AGRV, _OCIR, _EGRV, _EACU, _ICIR, _CEDL, _CCED, _NTIL, _SS, _DTIL, \
  54. _AACU, _OIAE, _DCMM, _UACU, _IACU, _OGON, _DIAE, _CARN, _RNGA, _HORN)
  55. /* // DEAD layer. */
  56. /* BP_DCIR // ^ (dead) */
  57. /* BP_ACUT // ´ (dead) */
  58. /* BP_DGRV // ` (dead) */
  59. /* BP_CARN // ˇ (dead) */
  60. /* BP_DSLS // / (dead) */
  61. /* BP_BREV // ˘ (dead) */
  62. /* BP_DIAE // ¨ (dead) */
  63. /* BP_DTIL // ~ (dead) */
  64. /* BP_MACR // ¯ (dead) */
  65. /* BP_CEDL // ¸ (dead) */
  66. /* BP_RNGA // ° (dead) */
  67. /* BP_DGRK // µ (dead Greek key) */
  68. /* BP_OGON // ˛ (dead) */
  69. /* BP_DACU // ˝ (dead) */
  70. /* BP_DOTA // ˙ (dead) */
  71. /* BP_CURR // ¤ (dead) */
  72. /* BP_HORN // ̛ (dead) */
  73. /* BP_DCMM // , (dead) */
  74. /* BP_HOKA // ̉ (dead) */
  75. /* BP_DOTB // ̣ (dead) */