C
C#10mo ago
Pandetthe

❔ 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
Pandetthe
Pandetthe10mo ago
Any idea?
WEIRD FLEX
WEIRD FLEX10mo ago
i guess you have to try
reflectronic
reflectronic10mo ago
Windows Ink works without moving the cursor, yes
Pandetthe
Pandetthe10mo ago
But I cannot found how to enable it
reflectronic
reflectronic10mo ago
you do not need to enable it
Pandetthe
Pandetthe10mo ago
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
reflectronic
reflectronic10mo ago
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
Pandetthe
Pandetthe10mo ago
6.0 This is tutorial for UWP not for WPF
Pandetthe
Pandetthe10mo ago
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
Accord
Accord10mo ago
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.
Pandetthe
Pandetthe10mo ago
Hmm
Accord
Accord10mo ago
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.