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.

114 lines
5.0 KiB

  1. /*
  2. Copyright 2019 @foostan
  3. Copyright 2023 @asdfire1
  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 MASTER_LEFT
  18. // #define MASTER_RIGHT
  19. // #define EE_HANDS
  20. #ifdef RGBLIGHT_ENABLE
  21. #define RGBLIGHT_EFFECT_BREATHING
  22. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  23. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  24. #define RGBLIGHT_EFFECT_SNAKE
  25. #define RGBLIGHT_EFFECT_KNIGHT
  26. #define RGBLIGHT_EFFECT_CHRISTMAS
  27. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  28. // #define RGBLIGHT_EFFECT_RGB_TEST
  29. // #define RGBLIGHT_EFFECT_ALTERNATING
  30. // #define RGBLIGHT_EFFECT_TWINKLE
  31. #define RGBLIGHT_LIMIT_VAL 120
  32. #define RGBLIGHT_HUE_STEP 10
  33. #define RGBLIGHT_SAT_STEP 17
  34. #define RGBLIGHT_VAL_STEP 17
  35. #endif
  36. #ifdef RGB_MATRIX_ENABLE
  37. //# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
  38. // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
  39. // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
  40. # define RGB_MATRIX_SLEEP // turn off effects when suspended
  41. //# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  42. // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
  43. // # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
  44. # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
  45. # define RGB_MATRIX_HUE_STEP 8
  46. # define RGB_MATRIX_SAT_STEP 8
  47. # define RGB_MATRIX_VAL_STEP 8
  48. # define RGB_MATRIX_SPD_STEP 10
  49. /* Enable the animations you want/need. You may need to enable only a small number of these because *
  50. * they take up a lot of space. Enable and confirm that you can still successfully compile your firmware. */
  51. // RGB Matrix Animation modes. Explicitly enabled
  52. // For full list of effects, see:
  53. // https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
  54. # define ENABLE_RGB_MATRIX_ALPHAS_MODS
  55. //# define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
  56. //# define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
  57. //# define ENABLE_RGB_MATRIX_BREATHING
  58. //# define ENABLE_RGB_MATRIX_BAND_SAT
  59. //# define ENABLE_RGB_MATRIX_BAND_VAL
  60. //# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
  61. //# define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
  62. //# define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
  63. //# define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
  64. //# define ENABLE_RGB_MATRIX_CYCLE_ALL
  65. //# define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
  66. # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
  67. //# define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
  68. //# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN
  69. //# define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
  70. //# define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
  71. //# define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
  72. //# define ENABLE_RGB_MATRIX_DUAL_BEACON
  73. //# define ENABLE_RGB_MATRIX_RAINBOW_BEACON
  74. //# define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
  75. //# define ENABLE_RGB_MATRIX_RAINDROPS
  76. //# define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
  77. //# define ENABLE_RGB_MATRIX_HUE_BREATHING
  78. //# define ENABLE_RGB_MATRIX_HUE_PENDULUM
  79. //# define ENABLE_RGB_MATRIX_HUE_WAVE
  80. //# define ENABLE_RGB_MATRIX_PIXEL_RAIN
  81. //# define ENABLE_RGB_MATRIX_PIXEL_FLOW
  82. //# define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
  83. // enabled only if RGB_MATRIX_FRAMEBUFFER_EFFECTS is defined
  84. //# define ENABLE_RGB_MATRIX_TYPING_HEATMAP
  85. //# define ENABLE_RGB_MATRIX_DIGITAL_RAIN
  86. // enabled only of RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is defined
  87. //# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
  88. //# define ENABLE_RGB_MATRIX_SOLID_REACTIVE
  89. //# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
  90. //# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
  91. //# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
  92. //# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
  93. //# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
  94. //# define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
  95. //# define ENABLE_RGB_MATRIX_SPLASH
  96. //# define ENABLE_RGB_MATRIX_MULTISPLASH
  97. //# define ENABLE_RGB_MATRIX_SOLID_SPLASH
  98. //# define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
  99. #endif
  100. #define OLED_FONT_H "keyboards/crkbd/lib/glcdfont.c"
  101. #define SPLIT_LAYER_STATE_ENABLE
  102. #define SPLIT_WPM_ENABLE //Enable WPM across split keyboards (+268).
  103. #define NO_ACTION_ONESHOT
  104. //#define SPLIT_OLED_ENABLE
  105. #define DYNAMIC_KEYMAP_LAYER_COUNT 6