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.

79 lines
2.5 KiB

  1. /* Copyright 2020 Jonathan Rascher
  2. *
  3. * This program is free software: you can redistribute it and/or modify
  4. * it under the terms of the GNU General Public License as published by
  5. * the Free Software Foundation, either version 2 of the License, or
  6. * (at your option) any later version.
  7. *
  8. * This program is distributed in the hope that it will be useful,
  9. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. * GNU General Public License for more details.
  12. *
  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. /* Wait between tap_code register and unregister to fix flaky media keys. */
  17. #undef TAP_CODE_DELAY
  18. #define TAP_CODE_DELAY 20
  19. /* Treat mod-tap keys as holds even if the mod-tap key and the key being
  20. * modified are both released within TAPPING_TERM. This assumes the mod-tap key
  21. * isn't usually pressed in quick succession with other tapped keys, which is
  22. * good when the tap keycode is something like KC_ESC rather than a letter.
  23. */
  24. #define PERMISSIVE_HOLD
  25. /* Turn off key repeat support of the tap keycode for tap-hold keys, enabling
  26. * holds to work correctly in quick succession after taps.
  27. */
  28. #define TAPPING_FORCE_HOLD
  29. #if defined(RGB_MATRIX_ENABLE)
  30. /* Turn off per-key RGB when the host goes to sleep. */
  31. # define RGB_DISABLE_WHEN_USB_SUSPENDED
  32. /* Keep per-key RGB increments consistent across keyboards. */
  33. # undef RGB_MATRIX_HUE_STEP
  34. # undef RGB_MATRIX_SAT_STEP
  35. # undef RGB_MATRIX_VAL_STEP
  36. # undef RGB_MATRIX_SPD_STEP
  37. # define RGB_MATRIX_HUE_STEP 8
  38. # define RGB_MATRIX_SAT_STEP 17
  39. # define RGB_MATRIX_VAL_STEP 17
  40. # define RGB_MATRIX_SPD_STEP 17
  41. /* Turn on additional RGB animations. */
  42. # define RGB_MATRIX_FRAMEBUFFER_EFFECTS
  43. # define RGB_MATRIX_KEYPRESSES
  44. #endif
  45. #if defined(RGBLIGHT_ENABLE)
  46. /* Turn off RGB underglow when the host goes to sleep. */
  47. # define RGBLIGHT_SLEEP
  48. /* Keep RGB underglow level increments consistent across keyboards. */
  49. # undef RGBLIGHT_HUE_STEP
  50. # undef RGBLIGHT_SAT_STEP
  51. # undef RGBLIGHT_VAL_STEP
  52. # define RGBLIGHT_HUE_STEP 8
  53. # define RGBLIGHT_SAT_STEP 17
  54. # define RGBLIGHT_VAL_STEP 17
  55. /* Turn on additional RGB animations. */
  56. # define RGBLIGHT_ANIMATIONS
  57. #endif
  58. #if defined(BACKLIGHT_ENABLE)
  59. /* Enable backlight breathing across the board. */
  60. # define BACKLIGHT_BREATHING
  61. /* Keep backlight level increments consistent across keyboards. */
  62. # undef BACKLIGHT_LEVELS
  63. # define BACKLIGHT_LEVELS 7
  64. #endif