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.

54 lines
2.2 KiB

  1. #pragma once
  2. #include "dactyl_manuform.h"
  3. #include "quantum.h"
  4. #ifdef USE_I2C
  5. #include <stddef.h>
  6. #ifdef __AVR__
  7. #include <avr/io.h>
  8. #include <avr/interrupt.h>
  9. #endif
  10. #endif
  11. // This uses the same coordinate system as the program that defines
  12. // the case model, but not the same coordinates.
  13. // Numbers increase going to the right and away from the user on the
  14. // right-hand side of the keyboard. This is mirrored for the
  15. // left-hand side.
  16. // The matrix is constructed for ease of soldering, with the columns
  17. // of the thumb cluster extending along the sides of the finger
  18. // cluster so that everything can be contained in a 6x6 pattern.
  19. #define LAYOUT_62key( \
  20. LA_20, LA_10, LF_35, LF_25, LF_15, LF_05, \
  21. LF_55, LF_45, LF_34, LF_24, LF_14, LF_04, \
  22. LF_54, LF_44, LF_33, LF_23, LF_13, LF_03, \
  23. LF_53, LF_43, LF_32, LF_22, LF_12, \
  24. LF_21, LT_21, LT_22, \
  25. LT_10, LT_11, LT_12, \
  26. LT_01, LT_02, \
  27. \
  28. RF_05, RF_15, RF_25, RF_35, RA_10, RA_20, \
  29. RF_04, RF_14, RF_24, RF_34, RF_45, RF_55, \
  30. RF_03, RF_13, RF_23, RF_33, RF_44, RF_54, \
  31. RF_12, RF_22, RF_32, RF_43, RF_53, \
  32. RT_22, RT_21, RF_21, \
  33. RT_12, RT_11, RT_10, \
  34. RT_02, RT_01 \
  35. ) \
  36. { \
  37. { LA_20, LA_10, LF_35, LF_25, LF_15, LF_05 }, \
  38. { LF_55, LF_45, LF_34, LF_24, LF_14, LF_04 }, \
  39. { LF_54, LF_44, LF_33, LF_23, LF_13, LF_03 }, \
  40. { LF_53, LF_43, LF_32, LF_22, LF_12, LT_22 }, \
  41. { KC_NO, KC_NO, LT_21, LF_21, LT_11, LT_12 }, \
  42. { KC_NO, KC_NO, LT_10, KC_NO, LT_01, LT_02 }, \
  43. \
  44. { RA_20, RA_10, RF_35, RF_25, RF_15, RF_05 }, \
  45. { RF_55, RF_45, RF_34, RF_24, RF_14, RF_04 }, \
  46. { RF_54, RF_44, RF_33, RF_23, RF_13, RF_03 }, \
  47. { RF_53, RF_43, RF_32, RF_22, RF_12, RT_22 }, \
  48. { KC_NO, KC_NO, RT_21, RF_21, RT_11, RT_12 }, \
  49. { KC_NO, KC_NO, RT_10, KC_NO, RT_01, RT_02 }, \
  50. }