logo

qmk_firmware

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

um70.c (3272B)


  1. /* Copyright 2021 duoshock
  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. /*
  19. Underglow Underglow 13,14 = split bksp, 14 = 2u bksp
  20. 07 08 09 10 11 12 13 01 01 07 08 09 10 11 12 13 14
  21. 14 15 16 17 18 19 02 02 15 16 17 18 19 20 21 22 23
  22. 20 21 22 23 24 25 26 03 03 24 25 26 27 28 29 30 31
  23. 27 28 29 30 31 32 33 04 04 32 33 34 35 36 37 38
  24. 34 35 36 37 38 39 05 05 39 40 41 42 43 44
  25. 06 06
  26. */
  27. #define XX NO_LED
  28. led_config_t g_led_config = { {
  29. { 6, 7, 8, 9, 10, 11, 12, XX },
  30. { 13, 14, 15, 16, 17, 18, XX, XX },
  31. { 20, 21, 22, 23, 24, 25, XX, XX },
  32. { 27, 28, 29, 30, 31, 32, XX, XX },
  33. { 34, 35, 36, 37, 38, 19, 26, 33 },
  34. { 45, 46, 47, 48, 49, 50, 51, 52 },
  35. { 53, 54, 55, 56, 57, 58, 59, 60 },
  36. { 62, 63, 64, 65, 66, 67, 68, XX },
  37. { 70, 71, 72, 73, 74, 75, 76, 61 },
  38. { 77, 78, 79, 80, 81, 82, XX, 69 },
  39. }, {
  40. { 224, 0 }, { 224, 13 }, { 224, 26 }, { 148, 39 }, { 185, 52 }, { 224, 64 },
  41. { 32, 0 }, { 64, 0 }, { 96, 0 }, { 128, 0 }, { 160, 0 }, { 192, 0 }, { 224, 0 },
  42. { 32, 16 }, { 64, 16 }, { 96, 16 }, { 128, 16 }, { 160, 16 }, { 192, 16 },
  43. { 0, 32 }, { 32, 32 }, { 64, 32 }, { 96, 32 }, { 128, 32 }, { 160, 32 }, { 192, 32 },
  44. { 0, 48 }, { 32, 48 }, { 64, 48 }, { 96, 48 }, { 128, 48 }, { 160, 48 }, { 192, 48 },
  45. { 0, 64 }, { 32, 64 }, { 64, 64 }, { 96, 64 }, { 128, 64 }, { 160, 64 },
  46. { 224, 0 }, { 224, 13 }, { 224, 26 }, { 148, 39 }, { 185, 52 }, { 224, 64 },
  47. { 0, 0 }, { 32, 0 }, { 64, 0 }, { 96, 0 }, { 128, 0 }, { 160, 0 }, { 192, 0 }, { 224, 0 },
  48. { 0, 16 }, { 32, 16 }, { 64, 16 }, { 96, 16 }, { 128, 16 }, { 160, 16 }, { 192, 16 }, { 223, 16 }, { 224, 16 },
  49. { 0, 32 }, { 32, 32 }, { 64, 32 }, { 96, 32 }, { 128, 32 }, { 160, 32 }, { 192, 32 }, { 223, 32 },
  50. { 0, 48 }, { 32, 48 }, { 64, 48 }, { 96, 48 }, { 128, 48 }, { 160, 48 }, { 192, 48 },
  51. { 0, 46 }, { 32, 46 }, { 64, 64 }, { 96, 64 }, { 128, 64 }, { 160, 64 }
  52. }, {
  53. 2, 2, 2, 2, 2, 2,
  54. 4, 4, 4, 4, 4, 4, 4,
  55. 1, 4, 4, 4, 4, 4,
  56. 4, 1, 4, 4, 4, 4, 4,
  57. 4, 1, 4, 4, 4, 4, 4,
  58. 4, 1, 1, 1, 1, 1,
  59. 2, 2, 2, 2, 2, 2,
  60. 4, 4, 4, 4, 4, 4, 4, 1,
  61. 4, 4, 4, 4, 4, 4, 4, 1, 4,
  62. 4, 4, 4, 4, 4, 4, 1, 4,
  63. 4, 4, 4, 4, 4, 1, 4,
  64. 1, 1, 1, 4, 4, 4
  65. } };
  66. #endif