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

[iOS][Touch][Stylus] Pressure value is not normalized #121

Closed
renaldasrep opened this issue May 22, 2018 · 6 comments
Closed

[iOS][Touch][Stylus] Pressure value is not normalized #121

renaldasrep opened this issue May 22, 2018 · 6 comments
Assignees

Comments

@renaldasrep
Copy link

Found using c798ef8
This is also the case with old Input on iOS, android seems to not support stylus on old input though (does not register touches made with it).
Pressure range is 0 -> 4.166667 on iOS with stylus (iPad pro + iPen):
screen shot 2018-05-22 at 14 45 04

Pressure range is 0 -> 1 on Android with stylus (Samsung Galaxy Note 8 SM-N950F):
screen shot 2018-05-22 at 14 40 25

@todi1856
Copy link
Member

todi1856 commented Jun 5, 2018

On both iOS and Android, the normal range is [0..1], value 1.0 is when you touch screen normally without applying extra weight, you can go above 1.0 when you're putting pressure with heavy weight, like in the example above.

In short the behavior is expected.

@renaldasrep
Copy link
Author

Quite a lot of weight needs to be applied to get 1.0 on android though, and that is the upper limit, you cannot go over it (at least not on the Galaxy Note 8), can this be tuned somehow or is there nothing that could be done?

@todi1856
Copy link
Member

So there's a difference here, touch pressure and pen pressure.

I think we should agree on that touch pressure can go over 1.0, while pen pressure cannot go over 1.0

@todi1856
Copy link
Member

@renaldasrep could you test latest develop branch, this should be fine now

@todi1856
Copy link
Member

todi1856 commented Sep 1, 2018

Fixed in 2018.3.0a12 @renaldasrep

@todi1856
Copy link
Member

Also fixed in 2018.2.11f1. I think @renaldasrep already tested it, so this can be closed @Rene-Damm

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

No branches or pull requests

2 participants