mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-30 21:38:01 +06:00
588b2329cb
* change split keyboard tapping term in userspace * fix 5x15 layout numpad movement * minor changes for Nori setup * edit based on 40percentclub refactor change * fix gherkin due to refactor * kbd6x wanleg keymap * kbd6x edits * kbd6x tweak * fn / backlight layer * fix jj40 rgb hex issue * wanleg gherkin lighting * 4x12 layout cleanup * move kbd6x to new kbdfans directory * minor edit related to new kbdfans directory * mac layout for kbd6x * gherkin flip option * tweak tapping term on lets_split * edit for keebio board coalescing * update user readme with git hints * wanleg miniaxe keymap * testing Permissive Hold instead of Mod Tap Interrupt * wiring names * kbd6x keymap * change default backlight behaviour on kbd6x * userspace underglow * userspace underglow * underglow tweaks * user readme update * more layer underglow tweaks * fix userspace for non-underglow-enabled boards * readme edits * readme edits * readme edits * readme edits * Update readme.md * Update readme.md * readme edits * readme edits * update keymap picture
52 lines
1.5 KiB
C
52 lines
1.5 KiB
C
#pragma once
|
|
|
|
//TAPPING_TERM
|
|
//tapping term short (<100): on multi-purpose keys, slow taps may not register, but "holds" register easier. multi-tap keys may be difficult to activate.
|
|
//tapping term long (>200): holds don't register as easily - noticeable when typing quickly (e.g. shift doesn't want to engage.)
|
|
|
|
|
|
//MIGHT HAVE TO SPLIT THIS INTO TWO CONDITIONS
|
|
#if defined(TAP_DANCE_ENABLE) && defined(KEYBOARD_lets_split_rev2) || defined(KEYBOARD_keebio_iris_rev2)
|
|
//Kailh Coppers activate quickly and don't need a long tapping term
|
|
#define TAPPING_TERM 180
|
|
|
|
#elif defined(TAP_DANCE_ENABLE) && defined(KEYBOARD_bigswitch)
|
|
#define TAPPING_TERM 700
|
|
|
|
#else
|
|
#define TAPPING_TERM 145
|
|
#endif
|
|
|
|
//Mousekey Settings
|
|
#ifdef MOUSEKEY_ENABLE
|
|
#define MOUSEKEY_INTERVAL 16
|
|
#define MOUSEKEY_DELAY 0
|
|
#define MOUSEKEY_TIME_TO_MAX 60
|
|
#define MOUSEKEY_MAX_SPEED 7
|
|
#define MOUSEKEY_WHEEL_DELAY 0
|
|
#endif
|
|
|
|
// Disable action_get_macro and fn_actions, since we don't use these
|
|
// and it saves on space in the firmware.
|
|
#ifndef NO_DEBUG
|
|
#define NO_DEBUG
|
|
#endif // !NO_DEBUG
|
|
#if !defined(NO_PRINT) && !defined(CONSOLE_ENABLE)
|
|
#define NO_PRINT
|
|
#endif // !NO_PRINT
|
|
#define NO_ACTION_MACRO
|
|
#define NO_ACTION_FUNCTION
|
|
#define NO_ACTION_ONESHOT
|
|
|
|
|
|
#define PERMISSIVE_HOLD
|
|
//// Disable mod tap interrrupt
|
|
//#ifndef IGNORE_MOD_TAP_INTERRUPT
|
|
//#define IGNORE_MOD_TAP_INTERRUPT
|
|
//#endif // !mod tap interrrupt
|
|
|
|
//set max breathing brightness on kbd6x
|
|
#if defined(KEYBOARD_kbdfans_kbd6x)
|
|
#define RGBLIGHT_EFFECT_BREATHE_MAX 128 // 0-255
|
|
#endif
|