obelus.h 549 B

1234567891011121314151617181920212223
  1. #ifndef OBELUS_H
  2. #define OBELUS_H
  3. #include "quantum.h"
  4. // This a shortcut to help you visually see your layout.
  5. // The following is an example using the Planck MIT layout
  6. // The first section contains all of the arguements
  7. // The second converts the arguments into a two-dimensional array
  8. #define KEYMAP( \
  9. k00, k01, k02, k03, \
  10. k10, k11, k12, k13, \
  11. k20, k21, k22, k23, \
  12. k30, k31, k32, k33 \
  13. ) \
  14. { \
  15. { k00, k01, k02, k03 }, \
  16. { k10, k11, k12, k13 }, \
  17. { k20, k21, k22, k23 }, \
  18. { k30, k31, k32, k33 } \
  19. }
  20. #endif