E52C android: Add support for android stylus by Lineoo · Pull Request #4503 · rust-windowing/winit · GitHub
[go: up one dir, main page]

Skip to content

android: Add support for android stylus#4503

Draft
Lineoo wants to merge 5 commits intorust-windowing:masterfrom
Lineoo:master
Draft

android: Add support for android stylus#4503
Lineoo wants to merge 5 commits intorust-windowing:masterfrom
Lineoo:master

Conversation

@Lineoo
Copy link
@Lineoo Lineoo commented Mar 5, 2026

Add support for android stylus (ToolType::Stylus and ToolType::Eraser) and their related hovering events

Pull Request

  • Tested on all platforms changed
  • Added an entry to the changelog module if knowledge of this change could be valuable to users
  • Updated documentation to reflect any user-facing changes, including notes of platform-specific behavior
  • Created or updated an example program if it would help users understand this functionality

Things

The attribute primary cannot work properly on the stylus yet. The Wayland implementation simply set primary to true but it may not just work on Android.

@Lineoo Lineoo requested a review from MarijnS95 as a code owner March 5, 2026 06:52
@Lineoo Lineoo marked this pull request as draft March 5, 2026 06:53
@madsmtm madsmtm added DS - android Affects the Android backend S - enhancement Wouldn't this be the coolest? labels Mar 5, 2026
Lineoo added 3 commits March 6, 2026 13:07
Both `ACTION_CANCEL` and `ACTION_UP` will be triggered during a cancellation, and there is no need to trigger `PointerLeft` twice
actual test ahows that it's wrong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DS - android Affects the Android backend S - enhancement Wouldn't this be the coolest?

Development

Successfully merging this pull request may close these issues.

2 participants

0