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

[Windows Standalone][Stylus/Touch] touch.pressure is always reported as 0 #171

Closed
renaldasrep opened this issue Jul 12, 2018 · 3 comments
Closed
Labels
enhancement Functionality that would be good to have

Comments

@renaldasrep
Copy link

Found using: b0c8fc2
Device: Microsoft Surface Pro (Model: 1796) + Microsoft Surface Pen (Model: 1776)

Pressure is always reported as 0

@renaldasrep renaldasrep changed the title [Windows][Stylus] Pressure is always reported as 0 [Windows][Stylus/Touch] Pressure is always reported as 0 Jul 12, 2018
@renaldasrep renaldasrep changed the title [Windows][Stylus/Touch] Pressure is always reported as 0 [Windows Standalone][Stylus/Touch] Pressure is always reported as 0 Jul 12, 2018
@renaldasrep renaldasrep changed the title [Windows Standalone][Stylus/Touch] Pressure is always reported as 0 [Windows Standalone][Stylus/Touch] touch.pressure is always reported as 0 Jul 13, 2018
@Rene-Damm
Copy link
Contributor

The Windows 7 touch API does not support pressure. I think what we ultimately want is Windows 8+ pointer API-based touch support. Unfortunately, as long as we haven't dropped Win 7 support (which likely won't be the case for quite a while), that'll mean that the touch codepath will get split in two, making it quite likely the old Win7 codepath will break more often.

Anyway, something to look into. For now, as long as we support pressure on pens, I'm not terribly concerned about not supporting pressure on touch.

@Rene-Damm Rene-Damm added the enhancement Functionality that would be good to have label Jul 18, 2018
@renaldasrep
Copy link
Author

now it seems to be either 0 or some cosmical number like 8.884232E-43

@JiaUnity
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Functionality that would be good to have
Projects
None yet
Development

No branches or pull requests

3 participants