config.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /* Copyright 2017 Benjamin Kesselring
  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. // place overrides here
  18. #define AUTO_SHIFT_TIMEOUT 125
  19. #define NO_AUTO_SHIFT_SPECIAL
  20. #define NO_AUTO_SHIFT_NUMERIC
  21. // require two taps for a TT layer switch (default 5)
  22. #define TAPPING_TOGGLE 2
  23. // Mouse control
  24. // constant mode (velocity)
  25. #define MK_3_SPEED
  26. // KC_ACL0 < KC_ACL1 < unmodified < KC_ACL2
  27. // Cursor offset per movement (unmodified)
  28. #define MK_C_OFFSET_UNMOD 16
  29. // Time between cursor movements (unmodified)
  30. #define MK_C_INTERVAL_UNMOD 10
  31. /* #define MK_C_INTERVAL_UNMOD 16 */
  32. // Cursor offset per movement (KC_ACL0)
  33. #define MK_C_OFFSET_0 1
  34. // Time between cursor movements (KC_ACL0)
  35. #define MK_C_INTERVAL_0 32
  36. // Cursor offset per movement (KC_ACL1)
  37. #define MK_C_OFFSET_1 4
  38. // Time between cursor movements (KC_ACL1)
  39. #define MK_C_INTERVAL_1 16
  40. // Cursor offset per movement (KC_ACL2)
  41. #define MK_C_OFFSET_2 20
  42. /* #define MK_C_OFFSET_2 32 */
  43. // Time between cursor movements (KC_ACL2)
  44. #define MK_C_INTERVAL_2 16