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.

29 lines
758 B

  1. #include "wavelet.h"
  2. void matrix_init_kb(void) {
  3. // // green led on
  4. // DDRD |= (1<<5);
  5. // PORTD &= ~(1<<5);
  6. // // orange led on
  7. // DDRB |= (1<<0);
  8. // PORTB &= ~(1<<0);
  9. matrix_init_user();
  10. };
  11. #ifdef SWAP_HANDS_ENABLE
  12. __attribute__ ((weak))
  13. const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
  14. {{5, 4}, {4, 4}, {3, 4}, {2, 4}, {1, 4}, {0, 4}},
  15. {{5, 5}, {4, 5}, {3, 5}, {2, 5}, {1, 5}, {0, 5}},
  16. {{5, 6}, {4, 6}, {3, 6}, {2, 6}, {1, 6}, {0, 6}},
  17. {{5, 7}, {4, 7}, {3, 7}, {2, 7}, {1, 7}, {0, 7}},
  18. {{0, 0}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}},
  19. {{0, 1}, {1, 1}, {2, 1}, {3, 1}, {4, 1}, {5, 1}},
  20. {{0, 2}, {1, 2}, {2, 2}, {3, 2}, {4, 2}, {5, 2}},
  21. {{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}},
  22. };
  23. #endif