Create a WPF RawStylusInput event?

63 views Asked by At

I have a custom hardware device, which reports some coordinates through custom API.

What I wanted

I want to show hardware coordinates on WPF as ink, in real-time.

My thoughts

Reading Creating an Ink Input Control, I think translating hardware coordinate to a WPF stylus event, and send to my specific InkCanvas control is one method.

But I'm stuck at first step, attempting to raise stylus event to my StylusPlugIn at creating a RawStylusInput object, which has an internal only constructor.

Any ideas?

0

There are 0 answers