Skip to content

Can one use stylus without AWT / JAVAFX? #3

@hamoid

Description

@hamoid

Hi,

I am trying to add support for graphic tablets to the OPENRNDR creative coding framework written in Kotlin. First I tried using https://github.com/nicarran/jpen but it's no longer under active development and I have issues making it work.
I was pointed to this repo and I'm very happy that there are packages I can use from Gradle.

Question: is it possible to use it without AWT or JAVAFX? OPENRNDR uses LWJGL which in turn uses GLFW. I do have access to window size, window position, pointer position and button states. What I'm missing is pressure and tilt.

Is the readme the only documentation available so far?

I see the included demos are rich in features and source code files. An idea for the future: include a minimal demo only showing how to read the state from the stylus. I think that would make it easier to understand how to integrate it in a project.

Thank you for writing and sharing your code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions