logo

qmk_firmware

custom branch of QMK firmware git clone https://anongit.hacktivis.me/git/qmk_firmware.git

config.h (1205B)


  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. // Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
  7. #define QUICK_TAP_TERM 0
  8. // Apply the modifier on keys that are tapped during a short hold of a modtap
  9. #define PERMISSIVE_HOLD
  10. // Using the right side as master
  11. #define MASTER_RIGHT
  12. #ifdef HAPTIC_ENABLE
  13. // this configuration has no effect because the haptic exclusion is implemented with
  14. // __attribute__((weak)) bool get_haptic_enabled_key(uint16_t keycode, keyrecord_t *record)
  15. // in the default keymap and reacts only to mouse clicks.
  16. //#define NO_HAPTIC_MOD
  17. #define NO_HAPTIC_FN
  18. #define NO_HAPTIC_ALPHA
  19. #define NO_HAPTIC_PUNCTUATION
  20. #define NO_HAPTIC_NAV
  21. #define NO_HAPTIC_NUMERIC
  22. #define DRV2605L_GREETING DRV2605L_EFFECT_750_MS_ALERT_100
  23. #define DRV2605L_DEFAULT_MODE DRV2605L_EFFECT_SHARP_TICK_1_100
  24. #endif
  25. #ifdef PS2_MOUSE_ENABLE
  26. #define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BTN_RIGHT) // using the right mouse button for scrolling (other buttons can be configured)
  27. #define PS2_MOUSE_SCROLL_BTN_SEND 500
  28. #endif