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.

64 lines
1.8 KiB

  1. /*
  2. Copyright 2021 Salicylic_Acid
  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. #define SPLIT_HAND_PIN B6
  16. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  17. #define LOCKING_SUPPORT_ENABLE
  18. /* Locking resynchronize hack */
  19. #define LOCKING_RESYNC_ENABLE
  20. #ifndef RGBLED_NUM
  21. #define RGBLED_NUM 21
  22. #endif
  23. #define RGBLIGHT_EFFECT_BREATHING
  24. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  25. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  26. #define RGBLIGHT_EFFECT_SNAKE
  27. #define RGBLIGHT_EFFECT_KNIGHT
  28. #define RGBLIGHT_EFFECT_CHRISTMAS
  29. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  30. #define RGBLIGHT_EFFECT_RGB_TEST
  31. #define RGBLIGHT_EFFECT_ALTERNATING
  32. #define RGBLIGHT_EFFECT_TWINKLE
  33. #ifndef IOS_DEVICE_ENABLE
  34. #define RGBLIGHT_LIMIT_VAL 180
  35. #define RGBLIGHT_VAL_STEP 17
  36. #else
  37. #define RGBLIGHT_LIMIT_VAL 50
  38. #define RGBLIGHT_VAL_STEP 4
  39. #endif
  40. #define RGBLIGHT_HUE_STEP 10
  41. #define RGBLIGHT_SAT_STEP 17
  42. #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
  43. // USB_MAX_POWER_CONSUMPTION value for naked48 keyboard
  44. // 120 RGBoff, OLEDoff
  45. // 120 OLED
  46. // 330 RGB 6
  47. // 300 RGB 32
  48. // 310 OLED & RGB 32
  49. #define USB_MAX_POWER_CONSUMPTION 400
  50. #else
  51. // fix iPhone and iPad power adapter issue
  52. // iOS device need lessthan 100
  53. #define USB_MAX_POWER_CONSUMPTION 100
  54. #endif