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.

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