toprows.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. /*******************************************************************/
  16. /** TOP ROWS Func,Symbols, Numbers you find there. **/
  17. /*******************************************************************/
  18. // ltkc language target keycode DV, BK, BKW, NONE
  19. // _1 = DV_1 or _1 = BP_DV_1 or KC_1
  20. #define ___10_NUMBERS___ \
  21. LANG_ROW(_1, _2, _3, _4, _5, _6, _7, _8, _9, _0)
  22. /* 40123 76598 */
  23. #define ___10_NUMBERS_BEAKL15___ \
  24. LANG_ROW(_4, _0, _1, _2, _3, _7, _6, _5, _9, _8)
  25. /* 32104 76598 */
  26. #define ___10_NUMBERS_BEAKL19___ \
  27. LANG_ROW(_3, _2, _1, _0, _4, _7, _6, _5, _9, _8)
  28. // a top symbol row if someone wants it.
  29. #define ___10_SYMBOLS___ \
  30. LANG_ROW(_EXLM, _AT, _HASH, _DLR, _PERC, _CIRC, _AMPR, _ASTR, _LPRN, _RPRN)
  31. // standard bepo top row
  32. #define ___10_SYMBOLS_BEPO___ \
  33. LANG_ROW(_DQUO, _LDAQ, _RDAQ, _LPRN, _RPRN, _AT, _PLUS, _MINS, _SLSH, _ASTR)
  34. #define ___12_SYMBOLS_BEPO___ \
  35. LANG_ROW12(_DLR, _DQUO, _LDAQ, _RDAQ, _LPRN, _RPRN, \
  36. _AT, _PLUS, _MINS, _SLSH, _ASTR, _EQL)
  37. // function key rows work for everyone.
  38. #define ___10_FUNCS___ \
  39. KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10
  40. #define ___12_FUNCS___ ___10_FUNCS___, KC_F11, KC_F12
  41. #define ___10_FUNCS_BEAKL15___ \
  42. KC_F4, KC_F10, KC_F1, KC_F2, KC_F3, \
  43. KC_F7, KC_F6, KC_F5, KC_F9, KC_F8
  44. #define ___12_FUNCS_BEAKL15___ KC_F11, ___10_FUNCS_BEAKL15___, KC_F12