Re: Tangential Pressure Windows API

Closing the loop, I pushed Matt's recommendation for the simple 
rewording/expansion. I did the same for the previous point about 
hardware and "pressure" support as well

https://github.com/patrickhlauke/pointerevents/commit/14353f37388e2577e69e3a58e853a262d016f96a

Following that, I also reworded existing "For devices" found in the same 
section to "For hardware and platforms", for consistency

https://github.com/patrickhlauke/pointerevents/commit/a4f7ca13a4309da3fdcfe3e23eddee86f69f0951

P

On 23/08/2018 16:53, Matt Rakow wrote:
> Since the spec already defines behavior in the case that tangential pressure is not supported, and (I think) no one is signing up to do comprehensive testing across various OS's and versions to drop those details in the note, I'm not sure the note is helpful.  At minimum you'll need to indicate the version of Windows you're referring to and keep it updated over time if support is added later.
> 
> Perhaps instead of the note, consider updating the normative statement to be more explicit about this case, e.g.
> 
> "For hardware that does not support tangential pressure" ->
> "For hardware and platforms that do not support tangential pressure"
> 
> Thanks,
> -Matt
> 
> -----Original Message-----
> From: Patrick H. Lauke <redux@splintered.co.uk>
> Sent: Thursday, August 23, 2018 5:39 AM
> To: public-pointer-events@w3.org; plh@w3.org
> Cc: Navid Zolghadr <nzolghadr@chromium.org>; Scott Low <sclow@microsoft.com>; Matt Rakow <marakow@microsoft.com>; Jacob Rossi <Jacob.Rossi@microsoft.com>; Olli Pettay <olli@pettay.fi>; Lan Wei <lanwei@chromium.org>; Rick Byers <rbyers@chromium.org>
> Subject: 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://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fw3c%2Fpointerevents%2Fpull%2F262&amp;data=02%7C01%7Cmarakow%40microsoft.com%7Cadad8537c3f0472ab30208d608f578d6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636706247727433804&amp;sdata=OX7IvxZtaRAxvbBarZpvLaY5uo79SkGk%2BTXRv8vZ7Iw%3D&amp;reserved=0
> 
> 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&amp;data=02%7C01%7Cmarakow%40microsoft.com%7Cadad8537c3f0472ab30208d608f578d6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636706247727433804&amp;sdata=jqXZ26ykuKw18RrRBRnN9eg%2Bs3m%2BOJT7Mg%2FO0lH7yRY%3D&amp;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&amp;data=02%7C01%7Cmarakow%40microsoft.com%7Cadad8537c3f0472
>> ab30208d608f578d6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6367062
>> 47727443813&amp;sdata=CqtBJhSOXjJOK%2BDhUD1Nd2VOVIPZn17Np%2BLjpUQrCFU%
>> 3D&amp;reserved=0>.____
>>
>>          ____
>>
>>          We already have the support on Mac using their native API
>>          
>> <https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdeve
>> loper.apple.com%2Fdocumentation%2Fappkit%2Fnsevent%2F1525959-tangentia
>> lpressure&amp;data=02%7C01%7Cmarakow%40microsoft.com%7Cadad8537c3f0472
>> ab30208d608f578d6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6367062
>> 47727443813&amp;sdata=IfbBBgbhuEq7JK2jymkt0nI9MNCpjfFc8lEOu5s%2FyMU%3D
>> &amp;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
> 
> https://na01.safelinks.protection.outlook.com/?url=www.splintered.co.uk&amp;data=02%7C01%7Cmarakow%40microsoft.com%7Cadad8537c3f0472ab30208d608f578d6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636706247727443813&amp;sdata=kWKYr12oam7%2FxiIlczXpBW9j4rVOl6MGjB5iDis5Xts%3D&amp;reserved=0 | https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fpatrickhlauke&amp;data=02%7C01%7Cmarakow%40microsoft.com%7Cadad8537c3f0472ab30208d608f578d6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636706247727443813&amp;sdata=fy5Fitvr0M8Fqrsg900HuCwKsDDbNaBn20PjYD%2FaRCw%3D&amp;reserved=0
> https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fflickr.com%2Fphotos%2Fredux%2F&amp;data=02%7C01%7Cmarakow%40microsoft.com%7Cadad8537c3f0472ab30208d608f578d6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636706247727443813&amp;sdata=6DG%2Br9E0CI%2BRO6tI%2FAcKMmNnnif5Yds3xakY9Am51wo%3D&amp;reserved=0 | https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fredux.deviantart.com&amp;data=02%7C01%7Cmarakow%40microsoft.com%7Cadad8537c3f0472ab30208d608f578d6%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636706247727443813&amp;sdata=6JiQvoXBSbN9NqX4zJL9I4PDYshYeCQx6tKtB5PyjV4%3D&amp;reserved=0
> twitter: @patrick_h_lauke | skype: patrick_h_lauke
> 


-- 
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 Wednesday, 29 August 2018 12:37:30 UTC