config.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. Copyright 2017 Danny Nguyen <danny@keeb.io>
  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. #pragma once
  15. /* Use I2C or Serial, not both */
  16. #include "../drashna/config.h"
  17. #ifdef RGBLIGHT_ENABLE
  18. # undef RGBLED_NUM
  19. # define RGBLED_NUM 16 // Number of LEDs
  20. # undef RGBLED_SPLIT
  21. # define RGBLED_SPLIT { 8, 8 }
  22. #endif
  23. #undef PRODUCT
  24. #ifdef KEYBOARD_keebio_iris_rev2
  25. # define PRODUCT Drashna Hacked Iris Rev.2 (16 LED)
  26. #endif
  27. #undef SHFT_LED1
  28. #define SHFT_LED1 5
  29. #undef SHFT_LED2
  30. #define SHFT_LED2 10
  31. #undef CTRL_LED1
  32. #define CTRL_LED1 6
  33. #undef CTRL_LED2
  34. #define CTRL_LED2 9
  35. #undef ALT_LED1
  36. #define ALT_LED1 7
  37. #undef GUI_LED1
  38. #define GUI_LED1 8