W3C home > Mailing lists > Public > public-pointer-events@w3.org > April to June 2017

Re: [pointerevents] Enable direct pen and touch to have different touch-action behavior

From: Arthur Stolyar via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 May 2017 21:20:58 +0000
To: public-pointer-events@w3.org
Message-ID: <issue_comment.created-299578767-1494019256-sysbot+gh@w3.org>
I actually thought about something similar as @scottgonzalez suggested, but kind of in revers:

```
pointer-action: touch(pan-y), pen(none);  
```

`touch()` and `pen()` functions here are corresponding to supported/possible `pointerType`. Why it might be good:
* Future compatible: with any future type like `dial`
* Backwards compatible: the new property. Doesn't break anything, can support touch and mouse
* Allow rich customization for different types of input devices, not only touch or pen specific

-- 
GitHub Notification of comment by NekR
Please view or discuss this issue at https://github.com/w3c/pointerevents/issues/203#issuecomment-299578767 using your GitHub account
Received on Friday, 5 May 2017 21:21:05 UTC

This archive was generated by hypermail 2.3.1 : Friday, 5 May 2017 21:21:05 UTC