minivan.h 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. #pragma once
  2. #include "quantum.h"
  3. // This a shortcut to help you visually see your layout.
  4. // There are a number of variations depending on the layout of your bottom row.
  5. // The arrow variant adds an additional key on the bottom-right, while the
  6. // command variant adds an additional key on the bottom-left. arrow-command is a
  7. // combination of both of those, having an additional key on both sides.
  8. //
  9. // Please note that the numbering of the macro arguments are based on the
  10. // numbers of the keys on the PCB.
  11. #define LAYOUT( \
  12. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
  13. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  14. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
  15. K30, K31, K32, K33, K37, K38, K39, K3B \
  16. ) \
  17. { \
  18. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
  19. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
  20. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
  21. { K30, K31, K32, K33, KC_NO, KC_NO, KC_NO, K37, K38, K39, KC_NO, K3B } \
  22. }
  23. #define LAYOUT_arrow( \
  24. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
  25. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  26. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
  27. K30, K31, K32, K33, K37, K38, K39, K3A, K3B \
  28. ) \
  29. { \
  30. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
  31. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
  32. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
  33. { K30, K31, K32, K33, KC_NO, KC_NO, KC_NO, K37, K38, K39, K3A, K3B } \
  34. }
  35. #define LAYOUT_command( \
  36. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
  37. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  38. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
  39. K30, K31, K32, K34, K33, K37, K38, K39, K3B \
  40. ) \
  41. { \
  42. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
  43. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
  44. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
  45. { K30, K31, K32, K33, K34, KC_NO, KC_NO, K37, K38, K39, KC_NO, K3B } \
  46. }
  47. #define LAYOUT_arrow_command( \
  48. K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, \
  49. K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, \
  50. K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, \
  51. K30, K31, K32, K34, K33, K37, K38, K39, K3A, K3B \
  52. ) \
  53. { \
  54. { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B }, \
  55. { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B }, \
  56. { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B }, \
  57. { K30, K31, K32, K33, K34, KC_NO, KC_NO, K37, K38, K39, K3A, K3B } \
  58. }