mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-30 04:37:14 +06:00
c19d949b72
* Revamp replicaJunction keymaps Updates both the replicaJunction Ergodox and Atreus keymaps and moves most of the logic into a new user directory. * Cleanup as requested in #3589 * Slightly increased TAPPING_TERM * Fixed typo in #pragma once * Fix TAPPING_TERM redefined in config.h * Add include of replicaJunction.h Due to the tap dance references, without this include, I was getting compiler errors about both internal QMK items like `qk_tap_dance_state_t` and constants defined in my replicaJunction.h file like TD_LAYER_TOGGLE. Also remove some commented-out code that defined an enum which has since moved to replicaJunction.h.
73 lines
2.4 KiB
C
73 lines
2.4 KiB
C
#pragma once
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// Features That Can Be Enabled
|
|
// https://docs.qmk.fm/reference/config-options#features-that-can-be-enabled
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Prevent modifiers from sticking when switching layers
|
|
// Uses 5 bytes of memory per 8 keys, but makes sure modifiers don't get "stuck" switching layers
|
|
#define PREVENT_STUCK_MODIFIERS
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// Behaviors That Can Be Configured
|
|
// https://docs.qmk.fm/reference/config-options#behaviors-that-can-be-configured
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// MS the button needs to be held before a tap becomes a hold (default: 200)
|
|
#undef TAPPING_TERM
|
|
#define TAPPING_TERM 250
|
|
|
|
// Makes it easier for fast typists to use dual-role keys. See additional details here:
|
|
// https://docs.qmk.fm/features/advanced-keycodes#permissive-hold
|
|
#define PERMISSIVE_HOLD
|
|
|
|
// MS after tapping the Leader key to listen for a sequence (default: 300)
|
|
#undef LEADER_TIMEOUT
|
|
#define LEADER_TIMEOUT 750
|
|
|
|
// This makes it possible to do rolling combos (zx) with keys that convert to other keys on hold
|
|
// (for example, if z becomes ctrl when you hold it, when this option isn't enabled, z rapidly
|
|
// followed by x actually sends Ctrl-x. That's bad.)
|
|
#define IGNORE_MOD_TAP_INTERRUPT
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
// Mouse Key Options
|
|
// https://docs.qmk.fm/reference/config-options#mouse-key-options
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifdef MOUSEKEY_ENABLE
|
|
// Mouse key config
|
|
|
|
// Frequency with which cursor movements are sent. Lower means more resolution / DPI.
|
|
// Default: 20
|
|
// #undef MOUSEKEY_INTERVAL
|
|
// #define MOUSEKEY_INTERVAL 20
|
|
|
|
// MS after pressing the key before initial movement begins. Lower means quicker response.
|
|
// Default: 0
|
|
// #undef MOUSEKEY_DELAY
|
|
// #define MOUSEKEY_DELAY 0
|
|
|
|
// MS it takes the cursor to accelerate to max speed
|
|
// Default: 60
|
|
// #undef MOUSEKEY_TIME_TO_MAX
|
|
// #define MOUSEKEY_TIME_TO_MAX 60
|
|
|
|
// Maximum speed for the mouse keys
|
|
// Default: 7
|
|
// #undef MOUSEKEY_MAX_SPEED
|
|
// #define MOUSEKEY_MAX_SPEED 7
|
|
|
|
// Delay before the mouse wheel
|
|
// Default: 0
|
|
// #undef MOUSEKEY_WHEEL_DELAY
|
|
// #define MOUSEKEY_WHEEL_DELAY 0
|
|
|
|
#endif // MOUSEKEY_ENABLE
|