config.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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 QUICK_TAP_TERM 0
  21. #undef PERMISSIVE_HOLD
  22. #define NO_ACTION_ONESHOT
  23. #ifdef AUTO_SHIFT_ENABLE
  24. #define AUTO_SHIFT_TIMEOUT 200
  25. #define NO_AUTO_SHIFT_SPECIAL
  26. #define NO_AUTO_SHIFT_ALPHA
  27. #endif
  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
  38. #ifdef LOCKING_SUPPORT_ENABLE
  39. # undef LOCKING_SUPPORT_ENABLE
  40. #endif
  41. #ifdef LOCKING_RESYNC_ENABLE
  42. # undef LOCKING_RESYNC_ENABLE
  43. #endif
  44. #define NO_ACTION_MACRO
  45. #define NO_ACTION_FUNCTION
  46. #ifndef NO_DEBUG
  47. #define NO_DEBUG
  48. #endif // !NO_DEBUG
  49. #if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
  50. #define NO_PRINT
  51. #endif // !NO_PRINT