mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 09:27:36 +06:00
6f6d28fa8d
* 4x4 - pro micro version * pro-micro setup on 4x4 * tap dance LCTL/RESET key * remove test file * more research * revert a couple un-intended edits * opt_defs version of adding custom rules.mk variables * cleanup * cleanup * cleanup * cleanup * layout edits * layout edits * keymap edit * numpad layout change * got tap dance layer-switch working * keymap changes * temporary revert * restore previous settings * misc fixes * layer order change * fix layout matrix * Update tapdances.c * playing around with triple tap dance * sync with upstream * quick edit * tapdance cleanup * mod tap interrupt * tapping term edit * tapping term adjust * 5x5 board edits * set gherkin tapping term * big switch tap dance edit * tapping term refinements * 5x10 layout setup * add audio for bigswitch * keymap change * keymap change & created testing board * sound setup for big_switch * more big switch size testing * bigswitch testing finished * final touch-ups
45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
#ifndef USERSPACE_CONFIG_H
|
|
#define USERSPACE_CONFIG_H
|
|
|
|
//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.)
|
|
#if defined(TAP_DANCE_ENABLE) && defined(KEYBOARD_lets_split_rev2)
|
|
//Kailh Coppers activate quickly and don't need a long tapping term
|
|
#define TAPPING_TERM 100
|
|
|
|
#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
|
|
|
|
// Disable mod tap interrrupt
|
|
#ifndef IGNORE_MOD_TAP_INTERRUPT
|
|
#define IGNORE_MOD_TAP_INTERRUPT
|
|
#endif // !mod tap interrrupt
|
|
|
|
#endif // !USERSPACE_CONFIG_H
|