From f99b284f289ce4e21fab14301295c63666c064c8 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 12 Aug 2023 22:02:23 +0200 Subject: share code and add magic layer --- common/config.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 common/config.h (limited to 'common/config.h') diff --git a/common/config.h b/common/config.h new file mode 100644 index 0000000..09c6200 --- /dev/null +++ b/common/config.h @@ -0,0 +1,39 @@ +/* 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 + +// no more than 8 layers +#define LAYER_STATE_8BIT + +// we don't have any lock switches +#undef LOCKING_SUPPORT_ENABLE +#undef LOCKING_RESYNC_ENABLE + +// enable NKRO by default +#define FORCE_NKRO + +// settings for home row modifiers +// details see https://precondition.github.io/home-row-mods + +// the default of 200 +#define TAPPING_TERM 175 + +// Enable rapid switch from tap to hold, disables double tap hold auto-repeat. +#define QUICK_TAP_TERM 0 + +// try to be more permissive with holds +#define PERMISSIVE_HOLD -- cgit v1.2.3