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.

38 lines
1.3 KiB

  1. // Copyright 2022 Ulrich Spörlein (@uqs)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. #ifdef RGBLIGHT_ENABLE
  5. # define RGBLIGHT_SLEEP
  6. # define RGBLIGHT_LAYERS
  7. # define RGBLIGHT_MAX_LAYERS 8 // default is 16
  8. # define RGBLIGHT_DISABLE_KEYCODES // RGB_foo keys no longer work, saves 600 bytes
  9. # define RGBLIGHT_DEFAULT_HUE 15
  10. #endif
  11. #define DYNAMIC_KEYMAP_LAYER_COUNT 6 // default is 4 for VIA builds
  12. #define TAPPING_TOGGLE 2 // number of taps for a toggle-on-tap
  13. #define TAPPING_TERM 170 // ms to trigger tap
  14. // https://precondition.github.io/home-row-mods
  15. #define QUICK_TAP_TERM 0 // make tap-then-hold _not_ do key auto repeat
  16. #define PERMISSIVE_HOLD // I don't think this works for me, hence I rolled my own implementation.
  17. #define LEADER_TIMEOUT 400
  18. #define LEADER_PER_KEY_TIMING
  19. #define UNICODE_SELECTED_MODES UNICODE_MODE_LINUX
  20. // make KC_ACL0 et al work when held.
  21. #define MK_COMBINED
  22. #define MOUSEKEY_WHEEL_INTERVAL 40 // default is 50, lower means more scroll events, 40 works ok.
  23. // From https://michael.stapelberg.ch/posts/2021-05-08-keyboard-input-latency-qmk-kinesis/
  24. #define USB_POLLING_INTERVAL_MS 1
  25. #ifdef KEYBOARD_preonic_rev3
  26. // Some games seem to not register Esc otherwise when tapped, maybe try with this delay?
  27. # define TAP_CODE_DELAY 30
  28. #else
  29. # define TAP_CODE_DELAY 10
  30. #endif