config.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. /* Wait between tap_code register and unregister to fix flaky media keys. */
  2. #undef TAP_CODE_DELAY
  3. #define TAP_CODE_DELAY 20
  4. /*
  5. * Force the default tapping term since some keyboards make it way too short
  6. * (*cough*Lily58*cough*).
  7. */
  8. #undef TAPPING_TERM
  9. #define TAPPING_TERM 200
  10. /*
  11. * Treat mod-tap keys as holds even if the mod-tap key and the key being
  12. * modified are both relased within TAPPING_TERM. This assumes the mod-tap key
  13. * isn't usually pressed in quick succession with other tapped keys, which is
  14. * good when the tap keycode is something like KC_ESC rather than a letter.
  15. */
  16. #define PERMISSIVE_HOLD
  17. /*
  18. * Turn off key repeat support of the tap keycode for tap-hold keys, enabling
  19. * holds to work correctly in quick succession after taps.
  20. */
  21. #define TAPPING_FORCE_HOLD
  22. #if defined(RGB_MATRIX_ENABLE)
  23. /* Turn off per-key RGB when the host goes to sleep. */
  24. #define RGB_DISABLE_WHEN_USB_SUSPENDED true
  25. /* Keep per-key RGB increments consistent across keyboards. */
  26. #undef RGB_MATRIX_HUE_STEP
  27. #undef RGB_MATRIX_SAT_STEP
  28. #undef RGB_MATRIX_VAL_STEP
  29. #undef RGB_MATRIX_SPD_STEP
  30. #define RGB_MATRIX_HUE_STEP 8
  31. #define RGB_MATRIX_SAT_STEP 17
  32. #define RGB_MATRIX_VAL_STEP 17
  33. #define RGB_MATRIX_SPD_STEP 17
  34. /* Turn on additional RGB animations. */
  35. #define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  36. #define RGB_MATRIX_KEYPRESSES
  37. #endif
  38. #if defined(RGBLIGHT_ENABLE)
  39. /* Turn off RGB underglow when the host goes to sleep. */
  40. #define RGBLIGHT_SLEEP
  41. /* Keep RGB underglow level increments consistent across keyboards. */
  42. #undef RGBLIGHT_HUE_STEP
  43. #undef RGBLIGHT_SAT_STEP
  44. #undef RGBLIGHT_VAL_STEP
  45. #define RGBLIGHT_HUE_STEP 8
  46. #define RGBLIGHT_SAT_STEP 17
  47. #define RGBLIGHT_VAL_STEP 17
  48. #endif
  49. #if defined(BACKLIGHT_ENABLE)
  50. /* Enable backlight breathing across the board. */
  51. #define BACKLIGHT_BREATHING
  52. /* Keep backlight level increments consistent across keyboards. */
  53. #undef BACKLIGHT_LEVELS
  54. #define BACKLIGHT_LEVELS 7
  55. #endif
  56. #if defined(MOUSEKEY_ENABLE)
  57. /* Make mouse operation smoother. */
  58. #undef MOUSEKEY_DELAY
  59. #undef MOUSEKEY_INTERVAL
  60. #define MOUSEKEY_DELAY 0
  61. #define MOUSEKEY_INTERVAL 16
  62. /* Lower mouse speed to adjust for reduced MOUSEKEY_INTERVAL. */
  63. #undef MOUSEKEY_MAX_SPEED
  64. #undef MOUSEKEY_TIME_TO_MAX
  65. #undef MOUSEKEY_WHEEL_MAX_SPEED
  66. #undef MOUSEKEY_WHEEL_TIME_TO_MAX
  67. #define MOUSEKEY_MAX_SPEED 7
  68. #define MOUSEKEY_TIME_TO_MAX 150
  69. #define MOUSEKEY_WHEEL_MAX_SPEED 3
  70. #define MOUSEKEY_WHEEL_TIME_TO_MAX 150
  71. #endif