❔ Tablet API
Hey, I am trying to implement a Wacom tablet to my WPF app. What is better to do, use Wintab or Windows Ink and does Windows Ink have an option to receive pen data without moving a cursor?
13 Replies
Any idea?
i guess you have to try
Windows Ink works without moving the cursor, yes
But I cannot found how to enable it
you do not need to enable it
Hmm, I dont think we are talking about the same thing
When I use pen with inkcanvas in wpf app
Pen is controlling mouse cursor
And I am looking for solution for it using windows ink api
There is such option in wintab api
In wacom's wintab api there is option to pass argument if pen has to controll mouse cursor
I have app with wintab api that is displaying on tablet's screen, and I can write on this tablet and move mouse on primary monitor at the same type
oh, yes. the WPF InkCanvas is older technology and not so great. i am using Windows Ink to refer to https://learn.microsoft.com/en-us/windows/apps/design/input/pen-and-stylus-interactions. it is newer than Wintab and pen-enabled tablets/laptops support it out of the box
what version of .NET are you using
6.0
This is tutorial for UWP not for WPF
InkCanvas control for Windows Forms and WPF - Windows Community Too...
This control is a wrapper to enable use of the UWP InkCanvas control in Windows Forms or WPF.
I am a little lost in this, because there is InkCanvas in basic WPF, there is InkCanvas in microsoft shared lib Microsoft.Ink
And here it's this tutorial, a little bit old that use WinRT that is no longer supported after .Net 5
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.Hmm
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.