Skip to content

Threshold of movement before activating a mouse layer aka AUTO_MOUSE_THRESHOLD - #886

Open
okuRaku wants to merge 1 commit into
Yowkees:mainfrom
okuRaku:upstream
Open

okuRaku wants to merge 1 commit into
Yowkees:mainfrom
okuRaku:upstream

Conversation

@okuRaku

@okuRaku okuRaku commented Sep 25, 2026

Copy link
Copy Markdown

Renewed version of #563 with latest from Yowkees/keyball:main

This change re-implements the "auto mouse threshold" parameter/feature from the QMK firmware. This feature defines an amount of pointing device (trackball in the case of keyball) movement needed in order to activate a mouse layer. This can be helpful in preventing accidental mouse layer activation while typing. The default threshold is 10 units - tune to preference with KEYBALL_AUTO_MOUSE_THRESHOLD.

Built locally on my keyball61 and works as expected.

Reference:

https://docs.qmk.fm/features/pointing_device#config-h-options

https://github.com/qmk/qmk_firmware/blob/1e340cd59c1012d5f4d48b483b5c14e3e99b2bc3/quantum/pointing_device/pointing_device_auto_mouse.h#L46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant