Skip to content
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

Determining the primary pointer - note about mice? #49

Closed
patrickhlauke opened this issue Mar 24, 2016 · 2 comments
Closed

Determining the primary pointer - note about mice? #49

patrickhlauke opened this issue Mar 24, 2016 · 2 comments
Assignees

Comments

@patrickhlauke
Copy link
Member

Currently https://w3c.github.io/pointerevents/#determining-the-primary-pointer makes an implicit assumption that there will never be more than one concurrent mouse input

a pointer is considered primary if: [...] The pointer represents a mouse device.

This of course reflects the current reality where no OS allows for 2 or more mice to be active (in most cases, it seems the OS simply "combines" more than one mouse/trackpad - any relative movement on those multiple mice is simply applied to the one mouse pointer, buttons are treated the same across all mice [though i've not tested if chording works across multiple mice, i.e. if i press right mouse button on one and left mouse button on the other if they're then counted as a chorded left-and-right mouse button press]).

Is it worth adding an informative note about this somewhere in 5.1.2.1? Just so that the above assumption and explanation of why there's only ever one mouse and it will always be isPrimary? Further, do we think there's ever going to be the possibility that a device/OS will allow multiple concurrent mice, and if so should we generalise the bullet list to determine the primary mouse, but then note that in practice there's only ever one mouse pointer?

@patrickhlauke
Copy link
Member Author

/cc @RByers @jacobrossi

@RByers
Copy link
Contributor

RByers commented Apr 25, 2016

Yeah I think this is a good idea. Although it's rare, there are environments with multiple mouse cursors and there's no good reason for PE to prohibit that IMHO.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants