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.

129 lines
4.8 KiB

  1. /* Copyright 2021 Dane Evans
  2. *
  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. *
  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. *
  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. //#define USE_MATRIX_I2C
  18. /* Select hand configuration */
  19. ///https://thomasbaart.nl/2018/12/01/reducing-firmware-size-in-qmk/
  20. #define MASTER_LEFT
  21. // #define MASTER_RIGHT
  22. // #define EE_HANDS
  23. #define CUSTOM_FONT
  24. #define CUSTOM_LAYER_READ //if you remove this it causes issues - needs better guarding
  25. #define TAPPING_FORCE_HOLD
  26. #ifdef TAPPING_TERM
  27. #undef TAPPING_TERM
  28. #define TAPPING_TERM 200
  29. #endif
  30. #define ENCODER_DIRECTION_FLIP
  31. #define RGBLIGHT_SLEEP
  32. //
  33. #define RGBLIGHT_LAYERS
  34. /* ws2812 RGB LED */
  35. #define RGB_DI_PIN D3
  36. #ifdef RGB_MATRIX_ENABLE
  37. #define RGBLED_NUM 35 // Number of LEDs
  38. #define RGBLED_NUM 35 // Number of LEDs
  39. #define DRIVER_LED_TOTAL RGBLED_NUM
  40. #endif
  41. #ifdef RGBLIGHT_ENABLE
  42. #undef RGBLED_NUM
  43. //#define RGBLIGHT_ANIMATIONS
  44. //#define RGBLIGHT_EFFECT_BREATHING
  45. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  46. //#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  47. //#define RGBLIGHT_EFFECT_SNAKE
  48. //#define RGBLIGHT_EFFECT_KNIGHT
  49. //#define RGBLIGHT_EFFECT_CHRISTMAS
  50. //#define RGBLIGHT_EFFECT_STATIC_GRADIENT
  51. //#define RGBLIGHT_EFFECT_RGB_TEST
  52. //#define RGBLIGHT_EFFECT_ALTERNATING
  53. //#define RGBLIGHT_EFFECT_TWINKLE
  54. #define RGBLED_NUM 70
  55. //#define RGBLED_SPLIT
  56. #define RGBLED_SPLIT { 35, 35 } // haven't figured out how to use this yet
  57. //#define RGBLED_NUM 30
  58. #define RGBLIGHT_LIMIT_VAL 120
  59. #define RGBLIGHT_HUE_STEP 10
  60. #define RGBLIGHT_SAT_STEP 17
  61. #define RGBLIGHT_VAL_STEP 17
  62. #endif
  63. #ifdef RGB_MATRIX_ENABLE
  64. # define RGB_MATRIX_KEYPRESSES // reacts to keypresses
  65. // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
  66. // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
  67. # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
  68. # define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  69. // # 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)
  70. // # 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)
  71. # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
  72. #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT
  73. # define RGB_MATRIX_HUE_STEP 8
  74. # define RGB_MATRIX_SAT_STEP 8
  75. # define RGB_MATRIX_VAL_STEP 8
  76. # define RGB_MATRIX_SPD_STEP 10
  77. /* Disable the animations you don't want/need. You will need to disable a good number of these *
  78. * because they take up a lot of space. Disable until you can successfully compile your firmware. */
  79. // # define DISABLE_RGB_MATRIX_ALPHAS_MODS
  80. // # define DISABLE_RGB_MATRIX_GRADIENT_UP_DOWN
  81. // # define DISABLE_RGB_MATRIX_BREATHING
  82. // # define DISABLE_RGB_MATRIX_CYCLE_ALL
  83. // # define DISABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
  84. // # define DISABLE_RGB_MATRIX_CYCLE_UP_DOWN
  85. // # define DISABLE_RGB_MATRIX_CYCLE_OUT_IN
  86. // # define DISABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
  87. // # define DISABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
  88. // # define DISABLE_RGB_MATRIX_DUAL_BEACON
  89. // # define DISABLE_RGB_MATRIX_RAINBOW_BEACON
  90. // # define DISABLE_RGB_MATRIX_RAINBOW_PINWHEELS
  91. // # define DISABLE_RGB_MATRIX_RAINDROPS
  92. // # define DISABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
  93. // # define DISABLE_RGB_MATRIX_TYPING_HEATMAP
  94. // # define DISABLE_RGB_MATRIX_DIGITAL_RAIN
  95. // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE
  96. // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
  97. // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
  98. // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
  99. // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
  100. // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
  101. // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
  102. // # define DISABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
  103. // # define DISABLE_RGB_MATRIX_SPLASH
  104. // # define DISABLE_RGB_MATRIX_MULTISPLASH
  105. // # define DISABLE_RGB_MATRIX_SOLID_SPLASH
  106. // # define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
  107. #endif