toprows.h 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*
  2. Copyright 2018-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. #include "keycodes.h"
  15. /*******************************************************************/
  16. /* A Top Rows layer. Pick your parts. Bepo and Qwerty */
  17. /* */
  18. /* This is, to me, a stop gap layer. If I need symbols, numbers or */
  19. /* function keys these rows are nicely predictable to most people. */
  20. /* I currently use the beakl number row with regular symbols. */
  21. /* I never use function keys for anything. */
  22. /*******************************************************************/
  23. // Kinesis function key row. I don't use them. but might as well define them.
  24. #define ___KINTFUNC_L___ KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8
  25. // #define ___KINTFUNC_RIGHT___ KC_F9, KC_F10, KC_F11, KC_F12, KC_PSCR, KC_SCRL, KC_PAUS, KC_FN0, QK_BOOT
  26. #define ___KINTFUNC_R___ KC_F9, KC_F10, KC_F11, KC_F12, XXX, XXX, XXX, XXX, QK_BOOT
  27. // A TOPROWS Layer.
  28. // set it how you like it, if you like it.
  29. //#define ___MODS_ROW___ ___OS_MODS_L___, ___, ___SML_MODS_R___
  30. #define ___MODS_ROW___ ___SML_MODS_L___, ___, ___OS_MODS_R___
  31. /********************************************************************************/
  32. /* TOPROWS Layer chunk */
  33. /********************************************************************************/
  34. // These rows have already been langed, at their creation.
  35. // altogether in a chunk.
  36. #define CARTE_TOPROWS \
  37. carte_de_map(" !@#$% ^&*()", \
  38. " 40123 76598", \
  39. " F1- -- -F12")
  40. #define ___TOPROWS_3x10___ \
  41. ___10_SYMBOLS___, \
  42. ___10_NUMBERS_BEAKL15___, \
  43. ___10_FUNCS___
  44. #define CARTE_TOPROWS_MOD \
  45. carte_de_map(" !@#$% ^&*()", \
  46. " 40123 76598", \
  47. " SLMods OSMods")
  48. #define ___TOPROWS_MOD_3x10___ \
  49. ___10_SYMBOLS___, \
  50. ___10_NUMBERS_BEAKL15___, \
  51. ___MODS_ROW___
  52. #define CARTE_TOPROWS_BKL19 \
  53. carte_de_map(" !@#$% ^&*()", \
  54. " 32104 76598", \
  55. " F1- -- -F12")
  56. #define ___TOPROWS_BKL19_3x10___ \
  57. ___10_SYMBOLS___, \
  58. ___10_NUMBERS_BEAKL19___, \
  59. ___10_FUNCS___
  60. #define CARTE_RAISE \
  61. carte_de_map(" !@#$% ^&*()", \
  62. " 12345 67890", \
  63. " F1- -- -F12")
  64. #define ___RAISE_3x10___ \
  65. ___10_SYMBOLS___, \
  66. ___10_NUMBERS___, \
  67. ___10_FUNCS___