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.

124 lines
4.8 KiB

  1. /*
  2. This is the c configuration file for the keymap
  3. Copyright 2012 Jun Wako <wakojun@gmail.com>
  4. Copyright 2015 Jack Humbert
  5. This program is free software: you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation, either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  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. #define MASTER_LEFT
  20. // #define MASTER_RIGHT
  21. // #define EE_HANDS
  22. // #define QUICK_TAP_TERM 0
  23. #define TAPPING_TERM 150
  24. // #define RETRO_TAPPING
  25. // #define PERMISSIVE_HOLD
  26. #ifdef RGBLIGHT_ENABLE
  27. # undef RGBLED_NUM
  28. # define RGBLED_NUM 27
  29. #define RGBLIGHT_EFFECT_BREATHING
  30. #define RGBLIGHT_EFFECT_RAINBOW_MOOD
  31. #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
  32. #define RGBLIGHT_EFFECT_SNAKE
  33. #define RGBLIGHT_EFFECT_KNIGHT
  34. #define RGBLIGHT_EFFECT_CHRISTMAS
  35. #define RGBLIGHT_EFFECT_STATIC_GRADIENT
  36. #define RGBLIGHT_EFFECT_RGB_TEST
  37. #define RGBLIGHT_EFFECT_ALTERNATING
  38. #define RGBLIGHT_EFFECT_TWINKLE
  39. # define RGBLIGHT_SLEEP
  40. # define RGBLIGHT_SPLIT
  41. # define RGBLIGHT_LIMIT_VAL 120
  42. # define RGBLIGHT_HUE_STEP 6
  43. # define RGBLIGHT_SAT_STEP 6
  44. # define RGBLIGHT_VAL_STEP 6
  45. # define RGBLIGHT_SLEEP
  46. # define RGBLIGHT_TIMEOUT 75000
  47. #endif
  48. #ifdef OLED_ENABLE
  49. # define SPLIT_LAYER_STATE_ENABLE
  50. # define SPLIT_LED_STATE_ENABLE
  51. # define SPLIT_MODS_ENABLE
  52. # define SPLIT_WPM_ENABLE
  53. # define SPLIT_OLED_ENABLE
  54. # define OLED_FONT_H "keyboards/crkbd/keymaps/soundmonster/glcdfont.c"
  55. # define OLED_DISABLE_TIMEOUT
  56. # define OLED_TIMEOUT 150000
  57. # define OLED_BRIGHTNESS 255
  58. # define OLED_FADE_OUT
  59. # define OLED_FADE_OUT_INTERVAL 15
  60. #endif
  61. #ifdef RGB_MATRIX_ENABLE
  62. # define RGB_MATRIX_KEYPRESSES // reacts to keypresses
  63. // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
  64. # define RGB_MATRIX_SLEEP // turn off effects when suspended
  65. # define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  66. # define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
  67. # 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)
  68. # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
  69. # define RGB_MATRIX_HUE_STEP 8
  70. # define RGB_MATRIX_SAT_STEP 8
  71. # define RGB_MATRIX_VAL_STEP 8
  72. # define RGB_MATRIX_SPD_STEP 10
  73. /* Disable the animations you don't want/need. You will need to disable a good number of these *
  74. * because they take up a lot of space. Disable until you can successfully compile your firmware. */
  75. # define ENABLE_RGB_MATRIX_ALPHAS_MODS
  76. # undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
  77. # undef ENABLE_RGB_MATRIX_BREATHING
  78. # undef ENABLE_RGB_MATRIX_BAND_SAT
  79. # undef ENABLE_RGB_MATRIX_BAND_VAL
  80. # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
  81. # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
  82. # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
  83. # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
  84. # undef ENABLE_RGB_MATRIX_CYCLE_ALL
  85. # undef ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
  86. # undef ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
  87. # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN
  88. # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
  89. # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
  90. # undef ENABLE_RGB_MATRIX_DUAL_BEACON
  91. # undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
  92. # undef ENABLE_RGB_MATRIX_CYCLE_SPIRAL
  93. # undef ENABLE_RGB_MATRIX_RAINBOW_BEACON
  94. # undef ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
  95. # undef ENABLE_RGB_MATRIX_RAINDROPS
  96. # undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
  97. # define ENABLE_RGB_MATRIX_TYPING_HEATMAP
  98. # define ENABLE_RGB_MATRIX_DIGITAL_RAIN
  99. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE
  100. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
  101. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
  102. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
  103. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
  104. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
  105. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
  106. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
  107. # undef ENABLE_RGB_MATRIX_SPLASH
  108. # define ENABLE_RGB_MATRIX_MULTISPLASH
  109. # undef ENABLE_RGB_MATRIX_SOLID_SPLASH
  110. # undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
  111. #endif