diff options
author | Christoph Cullmann <christoph@cullmann.io> | 2024-09-22 17:50:24 +0200 |
---|---|---|
committer | Christoph Cullmann <christoph@cullmann.io> | 2024-09-22 17:50:24 +0200 |
commit | 051df94b90df93d3311e960c104c7a58eb49a57a (patch) | |
tree | 5565f2ae5deb57d9cfd5324a602c78e06110d18d /common/config.h | |
parent | add1488adc0b99c1a8e943bf852a0d049168ffcb (diff) |
Revert "use code of https://github.com/filterpaper/qmk_userspace"
This reverts commit 8980edbc88646e803625ad89308d313b436fd389.
Diffstat (limited to 'common/config.h')
-rw-r--r-- | common/config.h | 40 |
1 files changed, 29 insertions, 11 deletions
diff --git a/common/config.h b/common/config.h index 18ee2e7..53db981 100644 --- a/common/config.h +++ b/common/config.h @@ -1,5 +1,18 @@ -// Copyright Christoph Cullmann -// SPDX-License-Identifier: GPL-2.0+ +/* Copyright 2022 Christoph Cullmann + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ #pragma once @@ -18,16 +31,21 @@ // enable NKRO by default #define FORCE_NKRO -// Tap-hold settings -#define TAPPING_TERM 230 -#define TAPPING_TERM_PER_KEY -#define PERMISSIVE_HOLD_PER_KEY -#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY +// settings for home row modifiers +// details see https://precondition.github.io/home-row-mods -// Input intervals -#define QUICK_TAP_TERM TAPPING_TERM - 100 -#define SHIFT_TAP_TERM TAPPING_TERM - 80 -#define COMBO_TAP_TERM TAPPING_TERM + 100 +// detect typing streaks +#define ACHORDION_STREAK + +// Enable rapid switch from tap to hold, disables double tap hold auto-repeat. +#define QUICK_TAP_TERM 0 + +// home row mods +#define TAPPING_FORCE_HOLD +#define TAPPING_TERM 180 + +// delay hold/release to not mess up software +#define TAP_CODE_DELAY 10 // // underglow configuration |