config.h 2.5 KB

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