-
Notifications
You must be signed in to change notification settings - Fork 132
[Docs] Add dedicated stylus support page and link it from FAQ #1045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,39 @@ | ||||||
| --- | ||||||
| title: Stylus support | ||||||
| --- | ||||||
|
|
||||||
| This page collects the current stylus and pen-input behavior in Butterfly. | ||||||
|
|
||||||
| ## Supported platforms | ||||||
|
|
||||||
| - **Android / mobile:** Stylus input works best and is the main supported path today. | ||||||
| - **Desktop (Windows/Linux):** Stylus input is currently limited by Flutter input support. | ||||||
| - **Web:** Often a good fallback when desktop stylus behavior is inconsistent. | ||||||
|
|
||||||
| ## Stylus-related settings | ||||||
|
|
||||||
| You can find stylus-related options in **Settings → Input → Pen**: | ||||||
|
|
||||||
| - **Pen-only input** (changed in 2.5): helps avoid accidental finger/touch drawing when using a stylus. | ||||||
| - **Pen-only toggle on stylus detection:** when a stylus is detected, a quick Pen-only toggle is activated; you can still disable it in **Settings → Input → Pen**. | ||||||
| - **Ignore pressure:** useful when pressure data is unreliable. This is set to help with cases where Firefox reports incorrect pressure on first input. | ||||||
| - **Input test:** lets you verify what pointer/stylus events your device is currently reporting. | ||||||
|
|
||||||
| ## Pen shortcuts and pointer test | ||||||
|
|
||||||
| Butterfly supports pen/stylus shortcuts (button mappings can vary by device/OS). If shortcuts do not behave as expected, open **Input test** first and check button values: | ||||||
|
|
||||||
| - **Primary button** commonly appears as `10` (`2`) | ||||||
| - **Secondary button** commonly appears as `100` (`4`) or `100000` (`32`) | ||||||
|
|
||||||
| These values are bit mappings from pointer button flags. | ||||||
|
||||||
| These values are bit mappings from pointer button flags. | |
| These values are bit mappings from pointer button flags, where the outer values (for example, `10`, `100`, `100000`) are written in binary and the values in parentheses are their decimal equivalents. |
Uh oh!
There was an error while loading. Please reload this page.