Skip to content

inking-windows: Windows Ink integration #3

Description

@nahkd123
  • Might depends on inking-api: Move back to Java 17? #2
  • C++ binding that interacts with rtscom.h
  • Find a way to cross-compile from Linux to Windows (might helps with CI; optional)
  • Add API for checking if the tablet device is "virtual". Virtual device always reports pen position in pixels, rather than tablet's hardware position like OpenTabletDriver (OTD).

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions