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

equivalent of rotationAngle from Touch Events? #28

Closed
patrickhlauke opened this issue Nov 17, 2015 · 2 comments
Closed

equivalent of rotationAngle from Touch Events? #28

patrickhlauke opened this issue Nov 17, 2015 · 2 comments

Comments

@patrickhlauke
Copy link
Member

Though hardware support doesn't seem all too great (I had to go on the hunt for a second-hand Nexus 10 in order to test/add this to my tracker demo), wondering if there's mileage in spec-ing something equivalent to Touch Events' rotationAngle in version 2?

tracker-touch-radius-rotation-force-hud

If yes, how would this affect width/height? Would we still want to keep them as the rectangular bounding box (aligned with the screen axes), or modify them to act as radiusX/radiusY?

This may even be seen as a generalisation of #25 - not exclusive to pen/stylus, but to touch as well, as conceptually they're the same?

@RByers
Copy link
Contributor

RByers commented Nov 18, 2015

I'd rather not conflate this with #25 myself, they're not really the same thing. For one, touch contact geometry has a range of 180° where pen rotation has a range of 360°.

I'm not opposed to adding this, but given that hardware and OS support is so rare I don't personally think it's worth it (AFAIK Android Nexus 10 would be the only platform that would benefit). If hardware support were to increase then I'd consider it more important.

@patrickhlauke
Copy link
Member Author

Closing this, as I'd rather see a proper implementation of #25 than TouchEvents' half-baked (in my opinion) rotationAngle

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