MicrosoftDocs / winrt-api

WinRT reference content for developing Microsoft Universal Windows Platform (UWP) apps
Creative Commons Attribution 4.0 International
231 stars 500 forks source link

Need example of Windows.Devices.Input.PenButtonListener and PenDockListener #2335

Open LancerComet opened 1 year ago

LancerComet commented 1 year ago

I have searched everything in all the place that I can reach like Stackoverflow, Github, Microsoft Learning and Discord channels, but just nothing was found about this PenButtonListener and PenDockListener. This two APIs just don't work at all and I start to suspect that if Microsoft has tested these. No instructions, no examples, just nothing about them. We need examples Microsoft, please. ☹️☹️

https://github.com/MicrosoftDocs/winrt-api/blob/docs/windows.devices.input/penbuttonlistener.md https://github.com/MicrosoftDocs/winrt-api/blob/docs/windows.devices.input/pendocklistener.md

LancerComet commented 1 year ago

I have found that PenButtonListener would be totally unavailable after calling GC.Collect. I have created a sample for this but it seems there is no where to report WinRT issue.