config.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Copyright 2019 Manna Harbour
  2. // https://github.com/manna-harbour/miryoku
  3. // This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
  4. #pragma once
  5. #include "custom_config.h"
  6. // default but used in macros
  7. #undef TAPPING_TERM
  8. #define TAPPING_TERM 200
  9. // Prevent normal rollover on alphas from accidentally triggering mods.
  10. #define IGNORE_MOD_TAP_INTERRUPT
  11. // Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
  12. #define TAPPING_FORCE_HOLD
  13. // Auto Shift
  14. #define NO_AUTO_SHIFT_ALPHA
  15. #define AUTO_SHIFT_TIMEOUT TAPPING_TERM
  16. #define AUTO_SHIFT_NO_SETUP
  17. // Mouse key speed and acceleration.
  18. #undef MOUSEKEY_DELAY
  19. #define MOUSEKEY_DELAY 0
  20. #undef MOUSEKEY_INTERVAL
  21. #define MOUSEKEY_INTERVAL 16
  22. #undef MOUSEKEY_WHEEL_DELAY
  23. #define MOUSEKEY_WHEEL_DELAY 0
  24. #undef MOUSEKEY_MAX_SPEED
  25. #define MOUSEKEY_MAX_SPEED 6
  26. #undef MOUSEKEY_TIME_TO_MAX
  27. #define MOUSEKEY_TIME_TO_MAX 64
  28. // Thumb Combos
  29. #if defined (MIRYOKU_KLUDGE_THUMBCOMBOS)
  30. #define COMBO_COUNT 8
  31. #define COMBO_TERM 200
  32. #define EXTRA_SHORT_COMBOS
  33. #endif