config.h 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /* Copyright 2018 Salicylic_acid3
  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. #pragma once
  17. /* Select hand configuration */
  18. #define TAPPING_FORCE_HOLD
  19. #define TAPPING_TERM 180
  20. #define DRIVER_LED_TOTAL RGBLED_NUM
  21. #ifdef RGB_MATRIX_ENABLE
  22. # define RGB_MATRIX_KEYPRESSES // reacts to keypresses
  23. // # define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
  24. // # define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
  25. # define RGB_DISABLE_WHEN_USB_SUSPENDED true // turn off effects when suspended
  26. // # define RGB_MATRIX_LED_PROCESS_LIMIT (DRIVER_LED_TOTAL + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
  27. // # 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)
  28. // # define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
  29. # define RGB_MATRIX_HUE_STEP 8
  30. # define RGB_MATRIX_SAT_STEP 8
  31. # define RGB_MATRIX_LIMIT_VAL 50
  32. # define RGB_MATRIX_VAL_STEP 5
  33. # define RGB_MATRIX_SPD_STEP 10
  34. #endif