logo

qmk_firmware

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

silverbullet44.c (1882B)


  1. /* Copyright 2019 SwanMatch
  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. led_config_t g_led_config = { {
  19. // Key Matrix to LED Index
  20. { 18, 7, 6, 0, 1, 2},
  21. { 19, 17, 8, 5, 4, 3},
  22. { 21, 20, 16, 9, 10, 11},
  23. { NO_LED, NO_LED, 15, 14, 13, 12},
  24. }, {
  25. { 139, 16 }, { 174, 13 }, { 208, 20 }, { 208, 38 }, { 174, 48 }, { 139, 52 }, { 129, 63 },
  26. { 139, 39 }, { 139, 21 }, { 139, 4 }, { 156, 2 }, { 156, 19 }, { 156, 37 }, { 144, 58 },
  27. { 164, 55 }, { 174, 35 }, { 174, 13 }, { 174, 0 }, { 191, 3 }, { 191, 20 }, { 191, 37 },
  28. { 208, 42 }, { 208, 24 }, { 208, 7 }, { 224, 7 }, { 224, 24 }, { 224, 41 }, { 85, 16 },
  29. { 50, 13 }, { 16, 20 }, { 16, 38 }, { 50, 48 }, { 85, 52 }, { 95, 63 }, { 85, 39 },
  30. { 85, 21 }, { 85, 4 }, { 68, 2 }, { 68, 19 }, { 68, 37 }, { 80, 58 }, { 60, 55 },
  31. { 50, 35 }, { 50, 13 }, { 50, 0 }, { 33, 3 }, { 33, 20 }, { 33, 37 }, { 16, 42 },
  32. { 16, 24 }, { 16, 7 }, { 0, 7 }
  33. }, {
  34. 2, 2, 2, 2, 2, 2, 1,
  35. 4, 4, 4, 4, 4, 4, 1,
  36. 1, 4, 4, 4, 4, 4, 4,
  37. 4, 4, 4, 1, 1, 1, 2,
  38. 2, 2, 2, 2, 2, 1, 4,
  39. 4, 4, 4, 4, 4, 1, 1,
  40. 4, 4, 4, 4, 4, 4, 4,
  41. 4, 4, 1
  42. } };
  43. #endif