Open
Description
Getting the PointerDevice from the pointer-id is UWP/WinUI specific. How would we get the correct ID on other platforms? For instance WPF events has a StylusDevice
property on its mouse events with an ID on it, but in my case the ID value was 27, but the actual pointer device id was 485. I'm not really able to find any 485 value anywhere in the WPF callstack.
Even going all the way back to the raw WinProc events, do I see this.
Could you please describe in more detail now we can get the correct pointer id if we're not using WinUI?
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.
- ID: 42941941-2587-f696-8265-60bf118a71b0
- Version Independent ID: 0fcb58f6-75b9-f7e3-96fc-1f4bc96952fe
- Content: Pen interactions and haptic feedback - Windows apps
- Content Source: hub/apps/design/input/pen-haptics.md
- Product: reunion
- Technology: design
- GitHub Login: @Karl-Bridge-Microsoft
- Microsoft Alias: kbridge