logo

qmk_firmware

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

nk20.c (1344B)


  1. /* Copyright 2022 Yiancar
  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 "quantum.h"
  17. #ifdef RGB_MATRIX_ENABLE
  18. // clang-format off
  19. led_config_t g_led_config = { {
  20. { 0, 1, 2, NO_LED },
  21. { 6, 5, 4, 3 },
  22. { 7, 8, 9, 10 },
  23. { 13, 12, 11, NO_LED },
  24. { 14, 15, 16, 17 },
  25. { 19, NO_LED, 18, NO_LED },
  26. }, {
  27. { 0,0 }, { 75,0 }, {149,0 }, {224,15 }, {149,15 }, { 75,15 }, { 0,15 }, { 0,27 }, { 75,27 }, {149,27 },
  28. {224,34 }, {149,40 }, { 75,40 }, { 0,40 }, { 0,52 }, { 75,52 }, {149,52 }, {224,58 }, {149,64 }, { 37,64 }
  29. }, {
  30. 1, 1, 1,
  31. 1, 1, 1, 1,
  32. 4, 4, 4, 1,
  33. 4, 4, 4,
  34. 4, 4, 4, 1,
  35. 4, 4
  36. } };
  37. // clang-format on
  38. #endif