You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moving this issue into UI events as it seems to be a more appropriate place for it. @garykac let me know if you disagree.
To reiterate though:
Today, it is impossible for a web app to detect when an user presses the top button on a surface pen. Native apps like PowerPoint can register for pen button events to, for example, advance a slide show. Web PowerPoint should be able to do the same.
Is there any opposition to standardizing events such as penbuttonclick, penbuttondblclick, penbuttonpressandhold to enable such scenarios? Are there standards already being discussed that are applicable?
i'd need to test this, but I think it's already possible to detect presses of the eraser button on surface pen by checking pointermove events with a button value of 5? https://w3c.github.io/pointerevents/#the-button-property
Moving this issue into UI events as it seems to be a more appropriate place for it. @garykac let me know if you disagree.
To reiterate though:
Today, it is impossible for a web app to detect when an user presses the top button on a surface pen. Native apps like PowerPoint can register for pen button events to, for example, advance a slide show. Web PowerPoint should be able to do the same.
Is there any opposition to standardizing events such as
penbuttonclick
,penbuttondblclick
,penbuttonpressandhold
to enable such scenarios? Are there standards already being discussed that are applicable?@snianu as FYI
The text was updated successfully, but these errors were encountered: