logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

scylla.c (2406B)


  1. /**
  2. * Copyright 2021 Quentin LEBASTARD <qlebastard@gmail.com>
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #include "quantum.h"
  18. // clang-format off
  19. #ifdef RGB_MATRIX_ENABLE
  20. led_config_t g_led_config = { {
  21. // left
  22. { 0, 7, 8, 15, 16, 20 },
  23. { 1, 6, 9, 14, 17, 21 },
  24. { 2, 5, 10, 13, 18, 22 },
  25. { 3, 4, 11, 12, 19, 23 },
  26. { NO_LED, 28, 24, 26, 27, 25 },
  27. // right
  28. { 29, 36, 37, 44, 45, 49 },
  29. { 30, 35, 38, 43, 46, 50 },
  30. { 31, 34, 39, 42, 47, 51 },
  31. { 32, 33, 40, 41, 48, 52 },
  32. { NO_LED, 57, 53, 55, 56, 54 }
  33. }, {
  34. // left
  35. { 0, 0 }, { 0, 16 }, { 0, 32 }, { 0, 48 }, // col 1
  36. { 20, 48 }, { 20, 32 }, { 20, 16 }, { 20, 0 }, // col 2
  37. { 41, 0 }, { 41, 16 }, { 41, 32 }, { 41, 48 },
  38. { 61, 48 }, { 61, 32 }, { 61, 16 }, { 61, 0 },
  39. { 81, 0 }, { 81, 16 }, { 81, 32 }, { 81, 48 },
  40. { 102, 0 }, { 102, 16 }, { 102, 32 }, { 102, 48 },
  41. { 102, 64 }, { 81, 64 }, { 61, 56 }, { 81, 56 }, { 102, 56 }, // left thumb cluster
  42. // right
  43. { 224, 0 }, { 224, 16 }, { 224, 32 }, { 224, 48 }, // col 12
  44. { 204, 48 }, { 204, 32 }, { 204, 16 }, { 204, 0 }, // col 11
  45. { 183, 0 }, { 183, 16 }, { 183, 32 }, { 183, 48 },
  46. { 163, 48 }, { 163, 32 }, { 163, 16 }, { 163, 0 },
  47. { 142, 0 }, { 142, 16 }, { 142, 32 }, { 142, 48 },
  48. { 122, 0 }, { 122, 16 }, { 122, 32 }, { 122, 48 },
  49. { 122, 64 }, { 142, 64 }, { 163, 56 }, { 142, 56 }, { 122, 56 } // right thumb cluster
  50. }, {
  51. // left
  52. 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4,
  53. 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
  54. 2, 2, 2, 2, 2,
  55. // right
  56. 2, 2, 2, 2, 4, 4, 4, 4, 4, 4, 4, 4,
  57. 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
  58. 2, 2, 2, 2, 2
  59. } };
  60. #endif
  61. // clang-format on