smallkeyboard.c 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. /* Copyright 2021 zhouqiong19840119
  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. const is31fl3731_led_t PROGMEM g_is31fl3731_leds[IS31FL3731_LED_COUNT] = {
  19. /* Refer to IS31 manual for these locations
  20. * driver
  21. * | R location
  22. * | | G location
  23. * | | | B location
  24. * | | | | */
  25. {0, C1_3, C2_3, C3_3}, // BL1
  26. {0, C1_4, C2_4, C3_4}, // BL2
  27. {0, C1_5, C2_5, C3_5}, // BL3
  28. {0, C1_11, C2_11, C3_11}, // BL4
  29. {0, C1_12, C2_12, C3_12}, // BL5
  30. {0, C1_13, C2_13, C3_13}, // BL6
  31. };
  32. #endif