config.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /* Copyright 2020 Casey Webster <casey@e1337.dev>
  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 TAPPING_TOGGLE 1
  18. #define TAPPING_TERM 200
  19. #define TAPPING_TERM_PER_KEY
  20. //#define TAPPING_FORCE_HOLD
  21. #undef PERMISSIVE_HOLD
  22. #define IGNORE_MOD_TAP_INTERRUPT
  23. #define NO_ACTION_ONESHOT
  24. #ifdef AUTO_SHIFT_ENABLE
  25. #define AUTO_SHIFT_TIMEOUT 200
  26. #define NO_AUTO_SHIFT_SPECIAL
  27. #define NO_AUTO_SHIFT_ALPHA
  28. #endif
  29. #undef MOUSEKEY_DELAY
  30. #define MOUSEKEY_DELAY 0
  31. #undef MOUSEKEY_INTERVAL
  32. #define MOUSEKEY_INTERVAL 16
  33. #undef MOUSEKEY_WHEEL_DELAY
  34. #define MOUSEKEY_WHEEL_DELAY 0
  35. #undef MOUSEKEY_MAX_SPEED
  36. #define MOUSEKEY_MAX_SPEED 6
  37. #undef MOUSEKEY_TIME_TO_MAX
  38. #define MOUSEKEY_TIME_TO_MAX 64
  39. #ifdef LOCKING_SUPPORT_ENABLE
  40. # undef LOCKING_SUPPORT_ENABLE
  41. #endif
  42. #ifdef LOCKING_RESYNC_ENABLE
  43. # undef LOCKING_RESYNC_ENABLE
  44. #endif
  45. #define NO_ACTION_MACRO
  46. #define NO_ACTION_FUNCTION
  47. #ifndef NO_DEBUG
  48. #define NO_DEBUG
  49. #endif // !NO_DEBUG
  50. #if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
  51. #define NO_PRINT
  52. #endif // !NO_PRINT