#872: Captured Mouse Events
Discussions
2023-07-mos-eisley
Rossen: to implement on windows, would require plumbing deep into the OS... Tess: and what would this even mean on iOS? etc.
Rossen commented with our concerns.
Hi @eladalon1983, looking at the proposal with @hober during our Aug 23 f2f, we have the following questions:
- What is the expected behavior for OSs that have no cursor - iOS, Android etc.?
- The intended effect assumes that the receiving UA will have the ability to change the lower layer OS cursors effects - is this possible? (For instance, we suspect this would be very diffcult on Windows.)
- It is unclear how this feature will be available in different pixel densities, DPI, frame sizes etc.
- What other alternatives have you considered?
- How does this featuere interact with the a11y stack given they usually have thier own virutal cursor?
- Not a question but suggestion - we assumed that the spec is your explainer given the little information provided in the README that is linked as an explainer. Can you consolidate please?
OpenedJul 19, 2023
Hej!
I'm requesting a TAG review of Captured Mouse Events.
We expose an oncapturedmousechange EventHandler on CaptureController. Events are of the general shape
{surfaceX: long, surfaceY: long}
, exposing the coordinates of the mouse relative to the origin of the captured surface.Further details:
We'd prefer the TAG provide feedback as: 🐛 open issues in our GitHub repo for each point of feedback