You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
716 B

  1. #ifndef KB_H
  2. #define KB_H
  3. #include "quantum.h"
  4. // Any changes to the layout names and/or definitions must also be made to info.json
  5. #define LAYOUT_ortho_4x4( \
  6. K00, K01, K02, K03, \
  7. K10, K11, K12, K13, \
  8. K20, K21, K22, K23, \
  9. K30, K31, K32, K33 \
  10. ) { \
  11. { K00, K01, K02, K03 }, \
  12. { K10, K11, K12, K13 }, \
  13. { K20, K21, K22, K23 }, \
  14. { K30, K31, K32, K33 } \
  15. }
  16. #define LAYOUT_numpad_4x4( \
  17. K00, K01, K02, K03, \
  18. K10, K11, K12, \
  19. K20, K21, K22, K23, \
  20. K31, K32 \
  21. ) { \
  22. { K00, K01, K02, K03 }, \
  23. { K10, K11, K12, KC_NO }, \
  24. { K20, K21, K22, K23 }, \
  25. { KC_NO, K31, K32, KC_NO } \
  26. }
  27. #endif