3 ms·
From the specification linked in the article: > The normalized pressure of the pointer input in the range of [0,1], where 0 and 1 represent the minimum and max
by franciscop 12y ago
From the specification linked in the article:
> The normalized pressure of the pointer input in the range of [0,1], where 0 and 1 represent the minimum and maximum pressure the hardware is capable of detecting, respectively. For hardware that does not support pressure, including but not limited to mouse, the value MUST be 0.5 when in the active buttons state and 0 otherwise.
What kind of non-sense is this? It's like saying 0 is white and 1 is black, but when a grayscale is not available, 0.5 is black.
- ygra 12y agoIt means that for pressure-sensitive applications mouse or touch input behaves as if the stylus was used with moderate pressure. Which makes sense if you consider something like a drawing application where the pressure makes the brush larger. You neither want no brush at all (0 pressure), nor something blown out of proportion (1) but rather what is similar to when using a pen normally. (Full pressure for a stylus is usually a lot of force that's rarely, if ever, used.)
- qnaal 12y agoThe idea seems be[1] that 'pressing super hard' should be easily distinguishable from 'pressing a normal amount'- which is understandable, but I don't know how preferable to announcing that pressure simply isn't supported... [1] https://www.w3.org/Bugs/Public/show_bug.cgi?id=20109 https://www.w3.org/Bugs/Public/show_bug.cgi?id=20109