config.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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