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.

38 lines
1.9 KiB

  1. #pragma once
  2. #include "quantum.h"
  3. #include <stdint.h>
  4. #include <stdbool.h>
  5. #include "i2c_master.h"
  6. /*
  7. * LEFT HAND: LINES 38-45
  8. * RIGHT HAND: LINES 47-54
  9. */
  10. #define LAYOUT_pterodactyl( \
  11. \
  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,k34,k35, k36,k37,k38,k39,k3A,k3B, \
  16. k40,k41,k42,k43,k44, k47,k48,k49,k4A,k4B, \
  17. k55,k50, k5B,k56, \
  18. k54, k57, \
  19. k53, k52,k51, k5A,k59,k58 ) \
  20. \
  21. /* matrix positions */ \
  22. { \
  23. { k0B, k0A, k09, k08, k07, k06, k05, k04, k03, k02, k01, k00 }, \
  24. { k1B, k1A, k19, k18, k17, k16, k15, k14, k13, k12, k11, k10 }, \
  25. { k2B, k2A, k29, k28, k27, k26, k25, k24, k23, k22, k21, k20 }, \
  26. { k3B, k3A, k39, k38, k37, k36, k35, k34, k33, k32, k31, k30 }, \
  27. { k4B, k4A, k49, k48, k47, k58, k53, k44, k43, k42, k41, k40 }, \
  28. { k56, k5B, k57, k5A, k59, KC_NO, KC_NO, k52, k51, k54, k50, k55 }, \
  29. }
  30. /* for future comers:
  31. * the weird ass ordering here is because the dactyl/ergo/etc are wired for the
  32. * chip to be in the right side, mine is not built that way.
  33. * that last line is not obvious but its due to the way my columns are wired
  34. * and are different than the dactyl guide.
  35. * this is to compensate for my build.
  36. */