You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.8 KiB

  1. /* Copyright 2021 Joshua T.
  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. // Do not allow one macro to contain the other macro
  18. #define DYNAMIC_MACRO_NO_NESTING
  19. // "THE most important tap hold configuration setting"
  20. // https://precondition.github.io/home-row-mods#ignore-mod-tap-interrupt
  21. // https://docs.qmk.fm/#/tap_hold?id=ignore-mod-tap-interrupt
  22. #define IGNORE_MOD_TAP_INTERRUPT
  23. // This one is a style choice. Play with it both on and off to see which
  24. // one suits you better.
  25. // https://precondition.github.io/home-row-mods#permissive-hold
  26. // https://docs.qmk.fm/#/tap_hold?id=permissive-hold
  27. #define PERMISSIVE_HOLD
  28. // If you press a dual-role key for longer than TAPPING_TERM, then
  29. // release it without pressing another key, without this setting nothing
  30. // would happen. With this setting, it sends the key's tap function.
  31. // https://precondition.github.io/home-row-mods#retro-tapping
  32. #define RETRO_TAPPING
  33. // Disable some unused features to save space
  34. #undef LOCKING_SUPPORT_ENABLE
  35. #undef LOCKING_RESYNC_ENABLE
  36. /////
  37. // Flags for stuff in my userspace
  38. #define USER_INCLUDE_GAMING_LAYER
  39. #define USER_INCLUDE_MACRO_LAYER
  40. // "Super Alt-Tab"
  41. // https://docs.qmk.fm/#/feature_macros?id=super-alt%E2%86%AFtab
  42. #define USER_SUPER_ALT_TAB_TIMEOUT 500