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.

42 lines
1.4 KiB

  1. /* Copyright 2021 Stan Gurenkov <rococo04_fox@icloud.com>
  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. #define ONESHOT_TAP_TOGGLE 2
  18. #define ONESHOT_TIMEOUT 5000
  19. #define LEADER_TIMEOUT 600
  20. #define LEADER_PER_KEY_TIMING 300
  21. // default but used in macros
  22. #define TAPPING_TERM 300
  23. // Prevent normal rollover on alphas from accidentally triggering mods.
  24. #define IGNORE_MOD_TAP_INTERRUPT
  25. // Auto Shift and Retro Shift (Auto Shift for Tap Hold).
  26. #define AUTO_SHIFT_TIMEOUT TAPPING_TERM
  27. // Mouse key speed and acceleration.
  28. #undef MOUSEKEY_DELAY
  29. #define MOUSEKEY_DELAY 0
  30. #undef MOUSEKEY_INTERVAL
  31. #define MOUSEKEY_INTERVAL 16
  32. #undef MOUSEKEY_WHEEL_DELAY
  33. #define MOUSEKEY_WHEEL_DELAY 0
  34. #undef MOUSEKEY_MAX_SPEED
  35. #define MOUSEKEY_MAX_SPEED 6
  36. #undef MOUSEKEY_TIME_TO_MAX
  37. #define MOUSEKEY_TIME_TO_MAX 64