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.

59 lines
1.5 KiB

  1. /*
  2. Copyright 2012 Jun Wako <wakojun@gmail.com>
  3. Copyright 2015 Jack Humbert
  4. Copyright 2018 Takuya Urakawa<twitter:@hsgw>
  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. 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. You should have received a copy of the GNU General Public License
  14. along with this program. If not, see <http://www.gnu.org/licenses/>.
  15. */
  16. #pragma once
  17. /* Select hand configuration */
  18. #define MASTER_LEFT
  19. // #define MASTER_RIGHT
  20. // #define EE_HANDS
  21. #ifndef IOS_DEVICE_ENABLE
  22. #if RGBLIGHT_LED_COUNT <= 7
  23. #define RGBLIGHT_LIMIT_VAL 255
  24. #define RGBLIGHT_VAL_STEP 17
  25. #endif
  26. #else
  27. #define RGBLIGHT_LIMIT_VAL 90
  28. #define RGBLIGHT_VAL_STEP 4
  29. #endif
  30. #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
  31. #define USB_MAX_POWER_CONSUMPTION 500
  32. #else
  33. // fix iPhone and iPad power adapter issue
  34. // iOS device need lessthan 100
  35. #define USB_MAX_POWER_CONSUMPTION 100
  36. #endif
  37. /*
  38. * Feature disable options
  39. * These options are also useful to firmware size reduction.
  40. */
  41. /* disable debug print */
  42. // #define NO_DEBUG
  43. /* disable print */
  44. // #define NO_PRINT
  45. /* disable action features */
  46. //#define NO_ACTION_LAYER
  47. //#define NO_ACTION_TAPPING
  48. //#define NO_ACTION_ONESHOT