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.

55 lines
2.0 KiB

  1. /* Copyright 2020 klackygears
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  13. * You should have received a copy of the GNU General Public License
  14. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #include "eek.h"
  17. #ifdef RGB_MATRIX_ENABLE
  18. // Logical Layout
  19. // Columns
  20. // 0 1 2 3 4
  21. // ROWS
  22. // 4 3 2 1 0 0
  23. // 5 6 7 8 9 1
  24. // 14 13 12 11 10 2
  25. // 15 16 17 3
  26. // Logical Layout v1.3
  27. // Columns
  28. // 0 1 2 3 4 5 6 7 8 9
  29. // ROWS
  30. // 0 1 2 3 4 5 6 7 8 9 0
  31. // 19 18 17 16 15 14 13 12 11 10 1
  32. // 20 21 22 23 24 25 26 27 28 29 2
  33. // 35 34 33 32 31 30 3
  34. led_config_t g_led_config = { {
  35. { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 },
  36. { 19, 18, 17, 16, 15, 14, 13, 12, 11, 10 },
  37. { 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 },
  38. { NO_LED, NO_LED, 35, 34, 33, 32, 31, 30, NO_LED, NO_LED }
  39. }, {
  40. { 31, 0 }, { 46, 0 }, { 62, 0 }, { 77, 7 }, { 93, 13 }, { 131, 13 }, { 147, 7 }, { 162, 0 }, { 178, 0 }, { 193, 0 },
  41. { 201, 10 }, { 185, 10 }, { 170, 10 }, { 154, 17 }, { 139, 24 }, { 85, 24 }, { 70, 17 }, { 54, 10 }, { 39, 10 }, { 23, 10 },
  42. { 15, 20 }, { 31, 20 }, { 46, 20 }, { 62, 27 }, { 77, 34 }, { 147, 34 }, { 162, 27 }, { 178, 20 }, { 193, 20 }, { 209, 20 },
  43. { 185, 34 }, { 170, 37 }, { 154, 44 }, { 70, 44 }, { 54, 37 }, { 39, 34 },
  44. }, {
  45. 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
  46. 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
  47. 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
  48. 1, 1, 1, 1, 1, 1,
  49. } };
  50. #endif