config.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. Config file - Ergodox QMK with replicaJunction layout
  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. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. GNU General Public License for more details.
  11. You should have received a copy of the GNU General Public License
  12. along with this program. If not, see <http://www.gnu.org/licenses/>.
  13. */
  14. #ifndef KEYBOARDS_ERGODOX_CONFIG_H_
  15. #define KEYBOARDS_ERGODOX_CONFIG_H_
  16. #define MOUSEKEY_DELAY 100
  17. #define MOUSEKEY_INTERVAL 20
  18. #define MOUSEKEY_MAX_SPEED 3
  19. #define MOUSEKEY_TIME_TO_MAX 10
  20. #define TAPPING_TOGGLE 1
  21. /* define if matrix has ghost */
  22. //#define MATRIX_HAS_GHOST
  23. // MS the button needs to be held before a tap becomes a hold (default: 200)
  24. #define TAPPING_TERM 200
  25. #define IGNORE_MOD_TAP_INTERRUPT // this makes it possible to do rolling combos (zx) with keys that convert to other keys on hold (z becomes ctrl when you hold it, and when this option isn't enabled, z rapidly followed by x actually sends Ctrl-x. That's bad.)
  26. // I don't have any locking keys, so I don't need these features
  27. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  28. //#define LOCKING_SUPPORT_ENABLE
  29. /* Locking resynchronize hack */
  30. //#define LOCKING_RESYNC_ENABLE
  31. /* Prevent modifiers from sticking when switching layers */
  32. /* Uses 5 bytes of memory per 8 keys, but makes sure modifiers don't get "stuck" switching layers */
  33. #define PREVENT_STUCK_MODIFIERS
  34. /* key combination for command */
  35. #define IS_COMMAND() ( \
  36. keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
  37. keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
  38. )
  39. #ifdef SUBPROJECT_ez
  40. #include "ez/config.h"
  41. #endif
  42. #ifdef SUBPROJECT_infinity
  43. #include "infinity/config.h"
  44. #endif
  45. #endif /* KEYBOARDS_ERGODOX_CONFIG_H_ */