config.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. #include QMK_KEYBOARD_CONFIG_H
  17. #undef MOUSEKEY_DELAY
  18. #undef MOUSEKEY_INTERVAL
  19. #undef MOUSEKEY_MAX_SPEED
  20. #undef MOUSEKEY_TIME_TO_MAX
  21. #define MOUSEKEY_DELAY 100
  22. #define MOUSEKEY_INTERVAL 20
  23. #define MOUSEKEY_MAX_SPEED 3
  24. #define MOUSEKEY_TIME_TO_MAX 10
  25. #define TAPPING_TOGGLE 1
  26. /* define if matrix has ghost */
  27. //#define MATRIX_HAS_GHOST
  28. // MS the button needs to be held before a tap becomes a hold (default: 200)
  29. #define TAPPING_TERM 200
  30. #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.)
  31. // I don't have any locking keys, so I don't need these features
  32. /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
  33. //#define LOCKING_SUPPORT_ENABLE
  34. /* Locking resynchronize hack */
  35. //#define LOCKING_RESYNC_ENABLE
  36. /* Prevent modifiers from sticking when switching layers */
  37. /* Uses 5 bytes of memory per 8 keys, but makes sure modifiers don't get "stuck" switching layers */
  38. #define PREVENT_STUCK_MODIFIERS
  39. /* key combination for command */
  40. #define IS_COMMAND() ( \
  41. keyboard_report->mods == (MOD_BIT(KC_LCTL) | MOD_BIT(KC_RCTL)) || \
  42. keyboard_report->mods == (MOD_BIT(KC_LSFT) | MOD_BIT(KC_RSFT)) \
  43. )
  44. #endif /* KEYBOARDS_ERGODOX_CONFIG_H_ */