logo

qmk_firmware

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

mf34.c (1947B)


  1. /*
  2. Copyright 2015 Álvaro "Gondolindrim" Volpato <gondolindrim@acheronproject.com>
  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. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #include "quantum.h"
  15. #ifdef RGB_MATRIX_ENABLE
  16. // RGB Matrix
  17. led_config_t g_led_config = {
  18. {
  19. // Key Matrix to LED Index
  20. { 0, 1, 2, 3 , 4, 5, 6},
  21. { 7, 8, 9, 10, 11, 12, 13 },
  22. { 14, 15, 16, 17, 18, 19, NO_LED },
  23. { NO_LED, NO_LED, NO_LED, 20, 21, 22, 23 },
  24. { NO_LED, 24, NO_LED, 25, 26, 27, NO_LED },
  25. { 28, 29, 30, NO_LED, 31, 32, 33 }
  26. }, {
  27. {0, 0}, {37, 0}, {74, 0}, {112, 0}, {149, 0}, {186, 0}, {224, 0},
  28. {0, 12}, {37, 12}, {74, 12}, {112, 12}, {149, 12}, {186, 12}, {224, 12},
  29. {0, 24}, {37, 24}, {74, 24}, {112, 17}, {149, 17}, {186, 17},
  30. {112, 38}, {149, 38}, {186, 38}, {224, 38},
  31. {37, 51}, {112, 51}, {149, 51}, {186, 51},
  32. {0, 64}, {37, 64}, {74, 64}, {149, 64}, {186, 64}, {224, 64}
  33. }, {
  34. 4, 4, 4, 4, 4, 4, 4,
  35. 4, 4, 4, 4, 4, 4, 4,
  36. 4, 4, 4, 4, 4, 4,
  37. 4, 4, 4, 4,
  38. 4, 4, 4, 4,
  39. 4, 4, 4, 4, 4, 4
  40. }
  41. };
  42. #endif