Re: [pointerevents] Should pressure be set to 1 or .5 on devices that don't report it?

If we think about the _range_ of pressure values first, the problem 
becomes simpler IMO:

A. First, the current range [0, 1.0]  seems natural & convenient, 
definitely more so than [0, 2.0] or [0, 4.xyz]. Agree/disagree?

B. We need the ability to distinguish between "normal" vs "hard" 
pressure, right? Then "normal" has to be less than range max 
(="hard"), and "normal"=0.5 makes the most sense as the middle of the 
range.

C. If we are in agreement so far, the only remaining question is the 
"default" value for unreported pressure. Our discussion above suggests
 that the "default"="normal" interpretation works except for the 
"pressure modulating opacity" case. This particular case is an 
advanced one with many different possibilities. E.g. for a highlighter
 tool in a drawing app, "default"="normal" still makes sense; for a 
brush tool, it doesn't. Ultimately, it's the drawing app who would 
decide (or let the user choose) whether "normal" or "hard" pressure 
draws a 100% opaque line, possibly using 
InputDeviceCapabilities.pressureSupported.

Therefore, the current spec values seem acceptable.

My $0.02.

-- 
GitHub Notification of comment by mustaqahmed
Please view or discuss this issue at 
https://github.com/w3c/pointerevents/issues/147#issuecomment-250526123
 using your GitHub account

Received on Thursday, 29 September 2016 16:54:43 UTC