qwerty.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. // Layer for combo reference. Make more than one by changing lang is.
  16. #define ___COMBO_REF___ \
  17. LANG_MAP(_1L1, _1L2, _1L3, _1L4, _1L5, _1R1, _1R2, _1R3, _1R4, _1R5, \
  18. _2L1, _2L2, _2L3, _2L4, _2L5, _2R1, _2R2, _2R3, _2R4, _2R5, \
  19. _3L1, _3L2, _3L3, _3L4, _3L5, _3R1, _3R2, _3R3, _3R4, _3R5)
  20. #define CARTE_QWERTY \
  21. carte_de_map(" qwert yuiop", \
  22. " asdfg hjkl;", \
  23. " zxcvb nm,./")
  24. // Need TLKC around comm, dot, and quot, and scln
  25. // Qwerty based layers that I don't really use.
  26. #define ___QWERTY___ \
  27. LANG_MAP(_Q, _W, _E, _R, _T, _Y, _U, _I, _O, _P, \
  28. _A, _S, _D, _F, _G, _H, _J, _K, _L, TL_SCLN, \
  29. _Z, _X, _C, _V, _B, _N, _M, TL_COMM, TL_DOT, TL_SLSH)
  30. #define CARTE_AZERTY \
  31. carte_de_map(" azert yuiop", \
  32. " qsdfg hjkl;", \
  33. " wxcvb nm,./")
  34. // Need TLKC around comm, dot, and quot, and scln
  35. // Qwerty based layers that I don't really use.
  36. #define ___AZERTY___ \
  37. LANG_MAP(_A, _Z, _E, _R, _T, _Y, _U, _I, _O, _P, \
  38. _Q, _S, _D, _F, _G, _H, _J, _K, _L, TL_SCLN, \
  39. _W, _X, _C, _V, _B, _N, _M, TL_COMM, TL_DOT, TL_SLSH)
  40. #define CARTE_WORKMAN \
  41. carte_de_map(" qdrwb jfup;", \
  42. " ashtg yneio", \
  43. " zxmcv kl,./")
  44. #define ___WORKMAN___ \
  45. LANG_MAP(_Q, _D, _R, _W, _B, _J, _F, _U, _P, _SCLN, \
  46. _A, _S, _H, _T, _G, _Y, _N, _E, _O, _I, \
  47. _Z, _X, _M, _C, _V, _K, _L, TL_COMM, TL_DOT, TL_SLSH)
  48. #define CARTE_NORMAN \
  49. carte_de_map(" qwdfk jurl;", \
  50. " asetg yniou", \
  51. " zxcvb pm,./")
  52. #define ___NORMAN___ \
  53. LANG_MAP(_Q, _W, _D, _F, _K, _J, _U, _R, _L, TL_SCLN, \
  54. _A, _S, _E, _T, _G, _Y, _N, _I, _O, _U, \
  55. _Z, _X, _C, _V, _B, _P, _M, TL_COMM, TL_DOT, TL_SLSH)