logo

qmk_firmware

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

akemipad.c (857B)


  1. // Copyright 2022 Arturo Avila (@ADPenrose)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #include "quantum.h"
  4. #ifdef RGB_MATRIX_ENABLE
  5. /* Setting up the LED matrix */
  6. led_config_t g_led_config = { {
  7. // Key Matrix to LED Index
  8. { 0, 1, 2, 3, NO_LED },
  9. { 4, 5, 6, 7, NO_LED },
  10. { 8, 9, 10, 11, 12 },
  11. { 13, 14, 15, 16, NO_LED },
  12. { 17, 18, 19, 20, 21 },
  13. { 22, 23, 24, 25, 26 },
  14. }, {
  15. // LED Index to Physical Position
  16. { 0,0 }, { 37,0 }, { 74,0 }, {111,0 }, { 0,34 }, { 37,34 }, { 74,34 }, {111,34 }, { 0,62 }, { 37,62 },
  17. { 74,62 }, {111,62 }, {120,75 }, { 0,89 }, { 37,89 }, { 74,89 }, {111,89 }, { 0,117}, { 37,117}, { 74,117},
  18. {111,117}, {120,130}, { 0,137}, { 18,144}, { 37,137}, { 74,144}, {111,144}
  19. }, {
  20. // LED Index to Flag
  21. 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4
  22. } };
  23. #endif