From 051df94b90df93d3311e960c104c7a58eb49a57a Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 22 Sep 2024 17:50:24 +0200 Subject: Revert "use code of https://github.com/filterpaper/qmk_userspace" This reverts commit 8980edbc88646e803625ad89308d313b436fd389. --- common/config.h | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) (limited to 'common/config.h') 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 . + */ #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 -- cgit v1.2.3