[Input] Add System Pointer Id#1074
Conversation
Good question. Maybe we can have a default fallback behavior, as long as it's explained in the member documentation (default to 0 or random or |
|
it now defaults to 0 on all implementations but SDL. so you mean just adding to the remarks of SystemPointerId: "NOTE: If this returns 0, then it is not implemented yet!"? and how about the UWP case where I suspect the PointerId currently working like SystemPointerId. there, changing the behavior of PointerId to conform to the other implementations would be a breaking change. but one could argue it is a bugfix?! |
|
I'm not very familiar with this so bare with me. For |
PR Details
Introduces a SystemPointerId property which is different from the already existing PointerId in that it passes through the original, unmodified pointer Id provided by the OS.
Description
Adds a SystemPointerId to PointerEvent and a SystemId to PointerPoint allowing the different framework implementations to pass through the original, unmodified Ids as provided by the OS.
Questions
Related Issue
Motivation and Context
Under Windows, this solves the issue that we can now use an API like InteractionContext, which relies on those original Ids.
Types of changes
Checklist