logo

qmk_firmware

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

config.h (1784B)


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