Skip to content

feat: configurable force-press (alt-character) threshold#17

Merged
julio73 merged 1 commit intomainfrom
feat/configurable-force-press
Mar 14, 2026
Merged

feat: configurable force-press (alt-character) threshold#17
julio73 merged 1 commit intomainfrom
feat/configurable-force-press

Conversation

@julio73
Copy link
Copy Markdown
Owner

@julio73 julio73 commented Mar 14, 2026

feat: make force-press (alt-character) threshold configurable

The threshold that triggers alt characters (e.g. * from k, @ from s) was
hard-coded at 0.95. Users who tap firmly can accidentally trigger these.

Adds forcePressThreshold as a @published setting on TouchInputSession
(default 0.95, range 0.70–1.00) and exposes it as a slider in SettingsPanel.

The threshold that triggers alt characters (e.g. * from k, @ from s) was
hard-coded at 0.95. Users who tap firmly can accidentally trigger these.

Adds `forcePressThreshold` as a @published setting on TouchInputSession
(default 0.95, range 0.70–1.00) and exposes it as a slider in SettingsPanel.
@julio73 julio73 merged commit 36b99cc into main Mar 14, 2026
1 check passed
@julio73 julio73 deleted the feat/configurable-force-press branch March 14, 2026 21:19
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