map_toprows.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. Copyright 2022 Eric Gebhart <e.a.gebhart@gmail.com>
  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. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. // Top Rows commonly called Raise
  15. #ifdef TOPROWS_LAYER_ENABLE
  16. # undef THUMBS_ARE
  17. # define THUMBS_ARE TOPROWS_LAYER_THUMBS
  18. # ifdef TOPROWS_BKL_15_NUMS
  19. T_LAYER(LANG_N(_TOPROWS), ___TOPROWS_3x10___),
  20. # endif
  21. # ifdef TOPROWS_BKL_19_NUMS
  22. T_LAYER(LANG_N(_TOPROWS), ___TOPROWS_BKL19_3x10___),
  23. # endif
  24. # ifdef TOPROWS_MOD
  25. T_LAYER(LANG_N(_TOPROWS), ___TOPROWS_MOD_3x10___),
  26. # endif
  27. // Not beakl numbers. Give a basic en-qwerty toprows layer.
  28. #if !defined(TOPROWS_BKL_15_NUMS) && \
  29. !defined(TOPROWS_BKL_19_NUMS) && \
  30. !defined(TOPROWS_MOD)
  31. T_LAYER(LANG_N(_TOPROWS), ___RAISE_3x10___),
  32. #endif
  33. # undef THUMBS_ARE
  34. # define THUMBS_ARE DEFAULT_THUMBS
  35. #endif // toprows.