config.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /* Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
  2. * Copyright 2019 Sunjun Kim
  3. * Copyright 2020 Ploopy Corporation
  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. // These pins are not broken out, and cannot be used normally.
  20. // They are set as output and pulled high, by default
  21. #define UNUSABLE_PINS \
  22. { B4, D6, F1, F5, F6, F7 }
  23. #define USB_MAX_POWER_CONSUMPTION 100
  24. /* disable action features */
  25. //#define NO_ACTION_LAYER
  26. //#define NO_ACTION_TAPPING
  27. //#define NO_ACTION_ONESHOT
  28. #define RGB_DI_PIN B5
  29. #define RGBLED_NUM 4
  30. #define RGBLIGHT_LIMIT_VAL 40
  31. #define RGBLIGHT_EFFECT_BREATHING
  32. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  33. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  34. // #define DEBUG_LED_PIN F7
  35. /* PMW33XX Settings */
  36. #define PMW33XX_CS_PIN B0