config.h 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. /* Select hand configuration */
  18. #define MASTER_LEFT
  19. // #define MASTER_RIGHT
  20. // #define EE_HANDS
  21. #define TAPPING_FORCE_HOLD
  22. #define TAPPING_TERM 200
  23. // #define RETRO_TAPPING
  24. // #define IGNORE_MOD_TAP_INTERRUPT
  25. #ifdef RGBLIGHT_ENABLE
  26. #define RGBLIGHT_SLEEP
  27. #define RGBLIGHT_SPLIT
  28. #define RGBLIGHT_LIMIT_VAL 120
  29. #define RGBLIGHT_HUE_STEP 10
  30. #define RGBLIGHT_SAT_STEP 17
  31. #define RGBLIGHT_VAL_STEP 17
  32. #endif
  33. #ifdef OLED_ENABLE
  34. # define SPLIT_LAYER_STATE_ENABLE
  35. # define SPLIT_LED_STATE_ENABLE
  36. # define SPLIT_MODS_ENABLE
  37. # define SPLIT_OLED_ENABLE
  38. # define OLED_FONT_H "keyboards/crkbd/keymaps/crkdves/glcdfont.c"
  39. # define OLED_TIMEOUT 30000
  40. #endif
  41. #ifdef RGB_MATRIX_ENABLE
  42. # define RGB_MATRIX_KEYPRESSES // reacts to keypresses
  43. // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
  44. # define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
  45. # define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  46. # 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)
  47. # 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)
  48. # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
  49. # define RGB_MATRIX_HUE_STEP 8
  50. # define RGB_MATRIX_SAT_STEP 8
  51. # define RGB_MATRIX_VAL_STEP 8
  52. # define RGB_MATRIX_SPD_STEP 10
  53. /* Disable the animations you don't want/need. You will need to disable a good number of these *
  54. * because they take up a lot of space. Disable until you can successfully compile your firmware. */
  55. # define ENABLE_RGB_MATRIX_ALPHAS_MODS
  56. # undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
  57. # define ENABLE_RGB_MATRIX_BREATHING
  58. # undef ENABLE_RGB_MATRIX_BAND_SAT
  59. # undef ENABLE_RGB_MATRIX_BAND_VAL
  60. # define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT
  61. # undef ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL
  62. # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT
  63. # undef ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL
  64. # undef ENABLE_RGB_MATRIX_CYCLE_ALL
  65. # define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
  66. # define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN
  67. # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN
  68. # undef ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
  69. # define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON
  70. # undef ENABLE_RGB_MATRIX_DUAL_BEACON
  71. # undef ENABLE_RGB_MATRIX_CYCLE_PINWHEEL
  72. # define ENABLE_RGB_MATRIX_CYCLE_SPIRAL
  73. # define ENABLE_RGB_MATRIX_RAINBOW_BEACON
  74. # define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS
  75. # undef ENABLE_RGB_MATRIX_RAINDROPS
  76. # undef ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS
  77. # define ENABLE_RGB_MATRIX_TYPING_HEATMAP
  78. # define ENABLE_RGB_MATRIX_DIGITAL_RAIN
  79. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE
  80. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE
  81. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
  82. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE
  83. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS
  84. # undef ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS
  85. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS
  86. # define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS
  87. # undef ENABLE_RGB_MATRIX_SPLASH
  88. # define ENABLE_RGB_MATRIX_MULTISPLASH
  89. # undef ENABLE_RGB_MATRIX_SOLID_SPLASH
  90. # undef ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
  91. #endif