qmk/common/config.h

47 lines
1,018 B
C
Raw Normal View History

2024-09-22 17:58:29 +02:00
/**
* SPDX-FileCopyrightText: 2024 Christoph Cullmann <christoph@cullmann.io>
* SPDX-License-Identifier: GPL-2.0-or-later
*/
2023-08-12 22:02:23 +02:00
#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
// deactivate more features
#define NO_ACTION_MACRO
#define NO_ACTION_FUNCTION
#define NO_ACTION_ONESHOT
2023-10-08 18:46:26 +02:00
#define NO_MUSIC_MODE
2023-08-12 22:02:23 +02:00
// enable NKRO by default
#define FORCE_NKRO
// many settings taken from https://github.com/filterpaper/qmk_userspace
// Tap-hold settings
2024-11-01 17:49:20 +01:00
#define TAPPING_TERM 200
2024-09-22 18:40:23 +02:00
#define TAPPING_TERM_PER_KEY
#define PERMISSIVE_HOLD_PER_KEY
#define HOLD_ON_OTHER_KEY_PRESS_PER_KEY
// Input intervals
2024-11-01 17:49:20 +01:00
#define QUICK_TAP_TERM TAPPING_TERM - 70
#define SHIFT_TAP_TERM TAPPING_TERM - 50
#define COMBO_IDLE_MS TAPPING_TERM + 100
#define INPUT_IDLE_MS QUICK_TAP_TERM
//
// underglow configuration
//
// no lights if we sleep
#define RGBLIGHT_SLEEP
// the modes we do use for lights
#define RGBLIGHT_EFFECT_BREATHING