logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (1839B)


  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. /* Select hand configuration */
  17. #define EE_HANDS
  18. #ifndef RGBLIGHT_SPLIT_ENABLE
  19. #define RGBLIGHT_LED_COUNT 30
  20. #else
  21. #define RGBLIGHT_LED_COUNT 60
  22. #endif
  23. #ifdef IOS_DEVICE_ENABLE
  24. #define RGBLIGHT_LIMIT_VAL 40
  25. #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 40
  26. #elif RGBLIGHT_FULL_POWER
  27. #define RGBLIGHT_LIMIT_VAL 255
  28. #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
  29. #else
  30. #define RGBLIGHT_LIMIT_VAL 120
  31. #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
  32. #endif
  33. #if defined(RGBLIGHT_ENABLE) && !defined(IOS_DEVICE_ENABLE)
  34. // USB_MAX_POWER_CONSUMPTION value for Helix keyboard
  35. // 120 RGBoff, OLEDoff
  36. // 120 OLED
  37. // 330 RGB 6
  38. // 300 RGB 32
  39. // 310 OLED & RGB 32
  40. #define USB_MAX_POWER_CONSUMPTION 500
  41. #else
  42. // fix iPhone and iPad power adapter issue
  43. // iOS device need lessthan 100
  44. #define USB_MAX_POWER_CONSUMPTION 100
  45. #endif
  46. /*
  47. * Feature disable options
  48. * These options are also useful to firmware size reduction.
  49. */
  50. /* disable debug print */
  51. // #define NO_DEBUG
  52. /* disable print */
  53. // #define NO_PRINT
  54. /* disable action features */
  55. //#define NO_ACTION_LAYER
  56. //#define NO_ACTION_TAPPING
  57. //#define NO_ACTION_ONESHOT