qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

config.h (1205B)


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