config.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. // Copyright 2021 Christoph Rehmann (crehmann)
  2. // SPDX-License-Identifier: GPL-2.0-or-later
  3. #pragma once
  4. // Configure the global tapping term (default: 200ms)
  5. #define TAPPING_TERM 200
  6. // Prevent normal rollover on alphas from accidentally triggering mods.
  7. #define IGNORE_MOD_TAP_INTERRUPT
  8. // Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
  9. #define QUICK_TAP_TERM 0
  10. // Apply the modifier on keys that are tapped during a short hold of a modtap
  11. #define PERMISSIVE_HOLD
  12. // Using the right side as master
  13. #define MASTER_RIGHT
  14. #ifdef HAPTIC_ENABLE
  15. // this configuration has no effect because the haptic exclusion is implemented with
  16. // __attribute__((weak)) bool get_haptic_enabled_key(uint16_t keycode, keyrecord_t *record)
  17. // in the default keymap and reacts only to mouse clicks.
  18. //#define NO_HAPTIC_MOD
  19. #define NO_HAPTIC_FN
  20. #define NO_HAPTIC_ALPHA
  21. #define NO_HAPTIC_PUNCTUATION
  22. #define NO_HAPTIC_NAV
  23. #define NO_HAPTIC_NUMERIC
  24. #define DRV_GREETING alert_750ms
  25. #define DRV_MODE_DEFAULT sharp_tick1
  26. #endif
  27. #ifdef PS2_MOUSE_ENABLE
  28. #define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BTN_RIGHT) // using the right mouse button for scrolling (other buttons can be configured)
  29. #define PS2_MOUSE_SCROLL_BTN_SEND 500
  30. #endif