forked from forks/qmk_firmware
cbabc8dbe6
* Replace Tapping Force Hold feature with Quick Tap Term * Replace keyboard level TAPPING_FORCE_HOLD with QUICK_TAP_TERM 0 * Deprecate force hold in info_config.json * Before and after quick tap term unit tests * Quick tap unit tests iteration * Keymap config.h correction * Remove TAPPING_FORCE_HOLD_PER_KEY macros that were missed * Add two more test cases for quick tap * Replace TAPPING_FORCE_HOLD with QUICK_TAP_TERM in configs #2 * Replace TAPPING_FORCE_HOLD_PER_KEY with QUICK_TAP_TERM_PER_KEY in configs #2 * Add function declaration for get_quick_tap_term Co-authored-by: Stefan Kerkmann <karlk90@pm.me>
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
// Copyright 2021 Christoph Rehmann (crehmann)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
// Configure the global tapping term (default: 200ms)
|
|
#define TAPPING_TERM 200
|
|
|
|
// Prevent normal rollover on alphas from accidentally triggering mods.
|
|
#define IGNORE_MOD_TAP_INTERRUPT
|
|
|
|
// Enable rapid switch from tap to hold, disables double tap hold auto-repeat.
|
|
#define QUICK_TAP_TERM 0
|
|
|
|
// Apply the modifier on keys that are tapped during a short hold of a modtap
|
|
#define PERMISSIVE_HOLD
|
|
|
|
// Using the right side as master
|
|
#define MASTER_RIGHT
|
|
|
|
#ifdef HAPTIC_ENABLE
|
|
// this configuration has no effect because the haptic exclusion is implemented with
|
|
// __attribute__((weak)) bool get_haptic_enabled_key(uint16_t keycode, keyrecord_t *record)
|
|
// in the default keymap and reacts only to mouse clicks.
|
|
//#define NO_HAPTIC_MOD
|
|
#define NO_HAPTIC_FN
|
|
#define NO_HAPTIC_ALPHA
|
|
#define NO_HAPTIC_PUNCTUATION
|
|
#define NO_HAPTIC_NAV
|
|
#define NO_HAPTIC_NUMERIC
|
|
#define DRV_GREETING alert_750ms
|
|
#define DRV_MODE_DEFAULT sharp_tick1
|
|
#endif
|
|
|
|
#ifdef PS2_MOUSE_ENABLE
|
|
#define PS2_MOUSE_SCROLL_BTN_MASK (1<<PS2_MOUSE_BTN_RIGHT)
|
|
#define PS2_MOUSE_SCROLL_BTN_SEND 500
|
|
#endif |