logo

qmk_firmware

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

config.h (1145B)


  1. /* Copyright 2021 bdtc123
  2. * Copyright 2021 sigprof
  3. * Copyright 2021 peepeetee
  4. *
  5. * This program is free software: you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation, either version 2 of the License, or
  8. * (at your option) any later version.
  9. *
  10. * This program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. #pragma once
  19. #define IS31FL3733_I2C_ADDRESS_1 IS31FL3733_I2C_ADDRESS_GND_GND
  20. #define IS31FL3733_LED_COUNT 64
  21. // Underglow LEDs are WS2812, but someone might want to use RGBLIGHT for them;
  22. // don't use those LEDs in RGB Matrix in that case.
  23. #ifdef RGBLIGHT_ENABLE
  24. # define WS2812_LED_COUNT 0
  25. #else
  26. # define WS2812_LED_COUNT 6
  27. #endif
  28. #define RGB_MATRIX_LED_COUNT (IS31FL3733_LED_COUNT + WS2812_LED_COUNT)