You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.8 KiB

  1. /* Copyright 2020 Josef Adamcik
  2. * Modification for VIA support and RGB underglow by Jens Bonk-Wiltfang
  3. *
  4. * This program is free software: you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License as published by
  6. * the Free Software Foundation, either version 2 of the License, or
  7. * (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU General Public License
  15. * along with this program. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. #pragma once
  18. /* By default left side is selected as master,
  19. see https://docs.qmk.fm/#/feature_split_keyboard?id=setting-handedness
  20. for more options. */
  21. #if defined(KEYBOARD_sofle_rev1)
  22. // Add RGB underglow and top facing lighting
  23. # define WS2812_DI_PIN D3
  24. # define RGBLIGHT_LED_COUNT 72
  25. # define RGBLED_SPLIT \
  26. { 36, 36 }
  27. # ifdef RGB_MATRIX_ENABLE
  28. # define RGB_MATRIX_LED_COUNT RGBLIGHT_LED_COUNT
  29. # define RGB_MATRIX_SPLIT RGBLED_SPLIT
  30. # define SPLIT_TRANSPORT_MIRROR
  31. # else
  32. # define RGBLIGHT_EFFECT_BREATHING
  33. # define RGBLIGHT_EFFECT_RAINBOW_MOOD
  34. # define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  35. # define RGBLIGHT_EFFECT_SNAKE
  36. # define RGBLIGHT_EFFECT_KNIGHT
  37. # define RGBLIGHT_EFFECT_CHRISTMAS
  38. # define RGBLIGHT_EFFECT_STATIC_GRADIENT
  39. # define RGBLIGHT_EFFECT_RGB_TEST
  40. # define RGBLIGHT_EFFECT_ALTERNATING
  41. # define RGBLIGHT_EFFECT_TWINKLE
  42. # define RGBLIGHT_LIMIT_VAL 120
  43. # define RGBLIGHT_HUE_STEP 10
  44. # define RGBLIGHT_SAT_STEP 17
  45. # define RGBLIGHT_VAL_STEP 17
  46. # endif
  47. #endif