- From: dfleck via GitHub <sysbot+gh@w3.org>
 - Date: Mon, 26 Sep 2016 18:27:26 +0000
 - To: public-pointer-events@w3.org
 
InputDeviceCapabilities would be useful (and should have all 
capabilities as @patrickhlauke suggests) - but my guess is with good 
defaults less than 5% of developers would use it. If I can pick up 
Tilt and use it as is, supported or not (no tilt support means the 
stylus is reported as vertical), then I won't look at tiltSupported to
 do something special.
With some defaults, InputDeviceCapabilities is required:
opacity = pressure;
if (! InputDeviceCapabilities.pressureSupported) then
    opacity *= 2.0;        // required to reach 100% opacity on 
non-pressure styli
endif
I most often see InputDeviceCapabilities used for displaying settings:
if InputDeviceCapabilities.tangentialPressureSupported then
    include UI for wheel settings (wheel changes: opacity, brush size,
 spatter density, etc.)
-- 
GitHub Notification of comment by dfleck
Please view or discuss this issue at 
https://github.com/w3c/pointerevents/issues/147#issuecomment-249655064
 using your GitHub account
Received on Monday, 26 September 2016 18:27:39 UTC