Windows Ink "driver" can be initialized like this:
long hWnd = 0L; // replace with window's handle
TabletDriver winink = new WindowsInkDriver(hWnd);
I don't want to touch FFAPI from Java 21 for this, because 1. there is JNI header for C++ and 2. user needs to install Java 21 and enable --enable-preview flag OR they can just install Java 22. (FYI: FFAPI was used for OTD because there is no good JNI interface for C# at the time of when I was writing this)
rtscom.hWindows Ink "driver" can be initialized like this:
I don't want to touch FFAPI from Java 21 for this, because 1. there is JNI header for C++ and 2. user needs to install Java 21 and enable
--enable-previewflag OR they can just install Java 22. (FYI: FFAPI was used for OTD because there is no good JNI interface for C# at the time of when I was writing this)