aboutsummaryrefslogtreecommitdiff
path: root/docs/features/mouse_keys.md
diff options
context:
space:
mode:
authorフィルターペーパー <[email protected]>2024-08-19 10:18:28 +0800
committerGitHub <[email protected]>2024-08-19 03:18:28 +0100
commit21b84596e7c372eeeedcf41a32c6c25379cd8f0e (patch)
tree163aca400e9e96033b934bf068a55d3c240affec /docs/features/mouse_keys.md
parente9cb9f42a511afd24a47812b5cf83895e8936744 (diff)
downloadqmk_firmware-21b84596e7c372eeeedcf41a32c6c25379cd8f0e.tar.gz
qmk_firmware-21b84596e7c372eeeedcf41a32c6c25379cd8f0e.zip
Enhance overlapping mouse keys control (#23341)
Enhance the overlapping mouse key press acceleration (introduced in #21494) with user preprocessor controls.
Diffstat (limited to 'docs/features/mouse_keys.md')
-rw-r--r--docs/features/mouse_keys.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/features/mouse_keys.md b/docs/features/mouse_keys.md
index 4cc06c992a..d755084f8e 100644
--- a/docs/features/mouse_keys.md
+++ b/docs/features/mouse_keys.md
@@ -203,6 +203,19 @@ Tips:
* Keep `MOUSEKEY_MOVE_DELTA` at 1. This allows precise movements before the gliding effect starts.
* Mouse wheel options are the same as the default accelerated mode, and do not use inertia.
+### Overlapping mouse key control
+
+When additional overlapping mouse key is pressed, the mouse cursor will continue in a new direction with the same acceleration. The following settings can be used to reset the acceleration with new overlapping keys for more precise control if desired:
+
+|Define |Default |Description |
+|------------------------------|----------------------|-----------------------------------------------------------------------|
+|`MOUSEKEY_OVERLAP_RESET` |undefined |Enables overlapping mouse key control |
+|`MOUSEKEY_OVERLAP_MOVE_DELTA` |`MOUSEKEY_MOVE_DELTA` |Step size of reset movement acceleration |
+|`MOUSEKEY_OVERLAP_WHEEL_DELTA`|`MOUSEKEY_WHEEL_DELTA`|Step size of reset mouse wheel acceleration |
+|`MOUSEKEY_OVERLAP_INTERVAL` |`MOUSEKEY_INTERVAL` |Reset time between cursor movements in milliseconds (Kinetic mode only)|
+
+?> This feature will not be applied on Inertial mode
+
## Use with PS/2 Mouse and Pointing Device
Mouse keys button state is shared with [PS/2 mouse](ps2_mouse) and [pointing device](pointing_device) so mouse keys button presses can be used for clicks and drags.