Re: Tangential Pressure Windows API

Folks, in light of the conversation here, I added a very small note to 
the spec. Assume that this would be ok/acceptable (the feature does work 
on MacOS, but on Windows it's not possible - without presumably hooking 
directly into device-specific drivers or other low-level components of 
the OS? - to get this information.

Thoughts?

https://github.com/w3c/pointerevents/pull/262

P

On 25/07/2018 20:44, Navid Zolghadr wrote:
> So Patrick, it seems that it is not possible to ship this feature on 
> Windows. I'm not sure how Photoshop works. Maybe it talks directly to 
> the Wacom driver or something.
> 
> Anyhow, do you think that would prevent us from including this in the 
> spec v2?
> 
> On Wed, Jul 25, 2018 at 3:38 PM Matt Rakow <marakow@microsoft.com 
> <mailto:marakow@microsoft.com>> wrote:
> 
>     Hi Navid – sorry this one slipped past me.  Unfortunately this
>     information isn’t available in Windows today, though I’ve passed the
>     feedback along to the Windows Input team to consider adding it in
>     the future.____
> 
>     __ __
> 
>     Thanks,____
> 
>     -Matt____
> 
>     __ __
> 
>     *From:* Navid Zolghadr <nzolghadr@chromium.org
>     <mailto:nzolghadr@chromium.org>>
>     *Sent:* Wednesday, July 25, 2018 12:25 PM
>     *To:* Scott Low <sclow@microsoft.com <mailto:sclow@microsoft.com>>
>     *Cc:* Jacob Rossi <Jacob.Rossi@microsoft.com
>     <mailto:Jacob.Rossi@microsoft.com>>; Matt Rakow
>     <marakow@microsoft.com <mailto:marakow@microsoft.com>>; Patrick H.
>     Lauke <redux@splintered.co.uk <mailto:redux@splintered.co.uk>>; Olli
>     Pettay <olli@pettay.fi <mailto:olli@pettay.fi>>; Lan Wei
>     <lanwei@chromium.org <mailto:lanwei@chromium.org>>; Rick Byers
>     <rbyers@chromium.org <mailto:rbyers@chromium.org>>
>     *Subject:* Re: Tangential Pressure Windows API____
> 
>     __ __
> 
>     Anyone has any information to add here?____
> 
>     __ __
> 
>     On Wed, Jul 18, 2018 at 8:35 PM Scott Low <sclow@microsoft.com
>     <mailto:sclow@microsoft.com>> wrote:____
> 
>         + @Matt <mailto:marakow@microsoft.com> who may be able to help
>         here while I’m out of office on vacation.
> 
>         Thanks,____
> 
>         Scott____
> 
>         ____
> 
>         *From:* Navid Zolghadr <nzolghadr@chromium.org
>         <mailto:nzolghadr@chromium.org>>
>         *Sent:* Wednesday, July 18, 2018 5:33 PM
>         *To:* Jacob Rossi <Jacob.Rossi@microsoft.com
>         <mailto:Jacob.Rossi@microsoft.com>>; Scott Low
>         <sclow@microsoft.com <mailto:sclow@microsoft.com>>
>         *Cc:* Patrick H. Lauke <redux@splintered.co.uk
>         <mailto:redux@splintered.co.uk>>; Olli Pettay <olli@pettay.fi
>         <mailto:olli@pettay.fi>>; Lan Wei <lanwei@chromium.org
>         <mailto:lanwei@chromium.org>>; Rick Byers <rbyers@chromium.org
>         <mailto:rbyers@chromium.org>>
>         *Subject:* Tangential Pressure Windows API____
> 
>         ____
> 
>         Hi Jacob/Scott,____
> 
>         ____
> 
>         We wanted to expose the tangential pressure
>         <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fw3c.github.io%2Fpointerevents%2F%23dom-pointerevent-tangentialpressure&data=02%7C01%7Csclow%40microsoft.com%7C805f35e65ed8446781dd08d5ed0f2782%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636675571696737276&sdata=KXF6pvUUjkd7xSh0av5kivF5Fo%2F4H2C6zHY9Hw5zyKA%3D&reserved=0>
>         on Windows to the web platform but realized this information is
>         not exposed via POINTER_PEN_INFO
>         <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Flibrary%2Fwindows%2Fdesktop%2Fhh454909(v%3Dvs.85).aspx&data=02%7C01%7Csclow%40microsoft.com%7C805f35e65ed8446781dd08d5ed0f2782%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636675571696737276&sdata=a4%2BmYHNruD31UAk5XdQ4DWERfKjDILIm1FAwAa%2BZBtA%3D&reserved=0>.____
> 
>         ____
> 
>         We already have the support on Mac using their native API
>         <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeveloper.apple.com%2Fdocumentation%2Fappkit%2Fnsevent%2F1525959-tangentialpressure&data=02%7C01%7Csclow%40microsoft.com%7C805f35e65ed8446781dd08d5ed0f2782%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636675571696737276&sdata=L1et%2BdSMKodbkvSeH5%2BaocQitKMx7OF%2FMNJa2I0G1FM%3D&reserved=0>.____
> 
>         ____
> 
>         Could you guide us here and let us know how we can get the
>         tangential pressure on Windows?____
> 
>         ____
> 
>         Thanks,____
> 
>         Navid____
> 

-- 
Patrick H. Lauke

www.splintered.co.uk | https://github.com/patrickhlauke
http://flickr.com/photos/redux/ | http://redux.deviantart.com
twitter: @patrick_h_lauke | skype: patrick_h_lauke

Received on Thursday, 23 August 2018 12:39:53 UTC