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.

112 lines
4.5 KiB

  1. /*
  2. Copyright 2019 MechMerlin
  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 RGBLED_NUM 16 // Add 12 if attaching the RGB LED ring
  16. # define RGB_MATRIX_LED_COUNT RGBLED_NUM
  17. # ifdef RGBLIGHT_ENABLE
  18. # define RGBLIGHT_HUE_STEP 8
  19. # define RGBLIGHT_SAT_STEP 8
  20. # define RGBLIGHT_VAL_STEP 8
  21. # define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
  22. # define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
  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. # elif defined RGB_MATRIX_ENABLE
  34. # define RGB_MATRIX_KEYPRESSES // reacts to keypresses
  35. # define RGB_MATRIX_FRAMEBUFFER_EFFECTS // reacts to keyreleases (instead of keypresses)
  36. // RGB Matrix Animation modes. Explicitly enabled
  37. // For full list of effects, see:
  38. // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
  39. # define ENABLE_RGB_MATRIX_ALPHAS_MODS
  40. # define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
  41. # define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
  42. # define ENABLE_RGB_MATRIX_BREATHING
  43. # define ENABLE_RGB_MATRIX_BAND_SAT
  44. # define ENABLE_RGB_MATRIX_BAND_VAL
  45. # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
  46. # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
  47. # define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
  48. # define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
  49. # define ENABLE_RGB_MATRIX_CYCLE_ALL
  50. # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
  51. # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
  52. # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
  53. # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
  54. # define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
  55. # define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
  56. # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
  57. # define ENABLE_RGB_MATRIX_DUAL_BEACON
  58. # define ENABLE_RGB_MATRIX_RAINBOW_BEACON
  59. # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
  60. # define ENABLE_RGB_MATRIX_RAINDROPS
  61. # define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
  62. # define ENABLE_RGB_MATRIX_HUE_BREATHING
  63. # define ENABLE_RGB_MATRIX_HUE_PENDULUM
  64. # define ENABLE_RGB_MATRIX_HUE_WAVE
  65. # define ENABLE_RGB_MATRIX_PIXEL_RAIN
  66. # define ENABLE_RGB_MATRIX_PIXEL_FLOW
  67. # define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
  68. // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
  69. # define ENABLE_RGB_MATRIX_TYPING_HEATMAP
  70. # define ENABLE_RGB_MATRIX_DIGITAL_RAIN
  71. // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
  72. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
  73. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE
  74. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
  75. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
  76. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
  77. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
  78. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
  79. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
  80. # define ENABLE_RGB_MATRIX_SPLASH
  81. # define ENABLE_RGB_MATRIX_MULTISPLASH
  82. # define ENABLE_RGB_MATRIX_SOLID_SPLASH
  83. # define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
  84. # endif
  85. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  86. #define LOCKING_SUPPORT_ENABLE
  87. /* Locking resynchronize hack */
  88. #define LOCKING_RESYNC_ENABLE
  89. /*
  90. * Feature disable options
  91. * These options are also useful to firmware size reduction.
  92. */
  93. /* disable debug print */
  94. //#define NO_DEBUG
  95. /* disable print */
  96. //#define NO_PRINT
  97. /* disable action features */
  98. //#define NO_ACTION_LAYER
  99. //#define NO_ACTION_TAPPING
  100. //#define NO_ACTION_ONESHOT