C
C#15mo 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
PandettheOP15mo ago
Any idea?
Omnissiah
Omnissiah15mo ago
i guess you have to try
reflectronic
reflectronic15mo ago
Windows Ink works without moving the cursor, yes
Pandetthe
PandettheOP15mo ago
But I cannot found how to enable it
reflectronic
reflectronic15mo ago
you do not need to enable it
Pandetthe
PandettheOP15mo 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
reflectronic15mo 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
PandettheOP15mo ago
6.0 This is tutorial for UWP not for WPF
Pandetthe
PandettheOP15mo 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
Accord15mo 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
PandettheOP15mo ago
Hmm
Accord
Accord15mo 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.
Want results from more Discord servers?
Add your server