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.

65 lines
1.9 KiB

  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2015 Jack Humbert
  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. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. */
  15. #pragma once
  16. #define SPLIT_HAND_PIN B6
  17. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  18. #define LOCKING_SUPPORT_ENABLE
  19. /* Locking resynchronize hack */
  20. #define LOCKING_RESYNC_ENABLE
  21. #ifndef RGBLED_NUM
  22. #define RGBLED_NUM 12
  23. #endif
  24. #define RGBLIGHT_EFFECT_BREATHING
  25. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  26. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  27. #define RGBLIGHT_EFFECT_SNAKE
  28. #define RGBLIGHT_EFFECT_KNIGHT
  29. #define RGBLIGHT_EFFECT_CHRISTMAS
  30. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  31. #define RGBLIGHT_EFFECT_RGB_TEST
  32. #define RGBLIGHT_EFFECT_ALTERNATING
  33. #define RGBLIGHT_EFFECT_TWINKLE
  34. #ifndef IOS_DEVICE_ENABLE
  35. #define RGBLIGHT_LIMIT_VAL 180
  36. #define RGBLIGHT_VAL_STEP 17
  37. #else
  38. #define RGBLIGHT_LIMIT_VAL 50
  39. #define RGBLIGHT_VAL_STEP 4
  40. #endif
  41. #define RGBLIGHT_HUE_STEP 10
  42. #define RGBLIGHT_SAT_STEP 17
  43. #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
  44. // USB_MAX_POWER_CONSUMPTION value for naked48 keyboard
  45. // 120 RGBoff, OLEDoff
  46. // 120 OLED
  47. // 330 RGB 6
  48. // 300 RGB 32
  49. // 310 OLED & RGB 32
  50. #define USB_MAX_POWER_CONSUMPTION 400
  51. #else
  52. // fix iPhone and iPad power adapter issue
  53. // iOS device need lessthan 100
  54. #define USB_MAX_POWER_CONSUMPTION 100
  55. #endif