I'm trying to implement native mouse listener to Compose Desktop, but it looks like there's no JNI setup in compose-multiplatform-core repo. Should I implement it in Skiko instead?
I need this native listener to fix some issues I'm having. I'm planning to publish my own version with this change, and if things go well I can submit a PR.
e
eygraber
10/07/2024, 7:46 AM
I'm pretty sure event handling used to be in Skiko, but it was moved out to narrow Skiko's responsibilities
m
mohamed rejeb
10/07/2024, 7:51 AM
Yes I remember that, the problem is that JNI is only possible in Skiko.
e
eygraber
10/07/2024, 7:54 AM
Why isn't it possible in CMP or in your own code?
m
mohamed rejeb
10/07/2024, 7:56 AM
It's possible, but there's no setup for that. It's ready in Skiko and you can start typing native code directly.