logo

qmk_firmware

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

rev1.c (1972B)


  1. /* Copyright 2020 marksard
  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. // Optional override functions below.
  18. // You can leave any or all of these undefined.
  19. // These are only required if you want to perform custom actions.
  20. #ifdef RGB_MATRIX_ENABLE
  21. led_config_t g_led_config = { {
  22. { 10, 11, 12, 13, 0 },
  23. { 9, 18, 19, 14, 1 },
  24. { 8, 17, 16, 15, 2 },
  25. { 7, 6, 5, 4, 3 },
  26. { 30, 31, 32, 33, 20 },
  27. { 29, 38, 39, 34, 21 },
  28. { 28, 37, 36, 35, 22 },
  29. { 27, 26, 25, 24, 23 }
  30. }, {
  31. { 100, 0 }, { 100, 21 }, { 100, 43 }, { 100, 64 },
  32. { 75, 64 }, { 50, 64 }, { 25, 64 }, { 0, 64 },
  33. { 0, 43 }, { 0, 21 }, { 0, 0 },
  34. { 25, 0 }, { 50, 0 }, { 75, 0 },
  35. { 75, 21 }, { 75, 43 },
  36. { 50, 43 }, { 25, 43 },
  37. { 25, 21 }, { 50, 21 },
  38. { 125, 0 }, { 125, 21 }, { 125, 43 }, { 125, 64 },
  39. { 150, 64 }, { 175, 64 }, { 200, 64 }, { 225, 64 },
  40. { 225, 43 }, { 225, 21 }, { 225, 0 },
  41. { 200, 0 }, { 175, 0 }, { 150, 0 },
  42. { 150, 21 }, { 150, 43 },
  43. { 175, 43 }, { 200, 43 },
  44. { 200, 21 }, { 150, 21 }
  45. }, {
  46. 4, 4, 4, 1,
  47. 1, 1, 1, 1,
  48. 4, 4, 4, 4,
  49. 4, 4, 4, 4,
  50. 4, 4, 4, 4,
  51. 4, 4, 4, 1,
  52. 1, 1, 1, 1,
  53. 4, 4, 4, 4,
  54. 4, 4, 4, 4,
  55. 4, 4, 4, 4
  56. } };
  57. #endif