From 8980edbc88646e803625ad89308d313b436fd389 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Fri, 20 Sep 2024 23:02:57 +0200 Subject: use code of https://github.com/filterpaper/qmk_userspace --- common/config.h | 40 +++++++++++----------------------------- 1 file changed, 11 insertions(+), 29 deletions(-) (limited to 'common/config.h') diff --git a/common/config.h b/common/config.h index 53db981..18ee2e7 100644 --- a/common/config.h +++ b/common/config.h @@ -1,18 +1,5 @@ -/* 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 . - */ +// Copyright Christoph Cullmann +// SPDX-License-Identifier: GPL-2.0+ #pragma once @@ -31,21 +18,16 @@ // enable NKRO by default #define FORCE_NKRO -// settings for home row modifiers -// details see https://precondition.github.io/home-row-mods +// 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 -// 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 +// Input intervals +#define QUICK_TAP_TERM TAPPING_TERM - 100 +#define SHIFT_TAP_TERM TAPPING_TERM - 80 +#define COMBO_TAP_TERM TAPPING_TERM + 100 // // underglow configuration -- cgit v1.2.3