MobiVM / robovm

Ahead of time compiler for JVM bytecode targetting iOS, Mac OSX and Linux
https://mobivm.github.io
967 stars 133 forks source link

GCMouseInput MouseMovedHandler update lag (intermittent) #664

Closed cacophany53 closed 1 year ago

cacophany53 commented 2 years ago

I've observed intermittent delay receiving events from the GCMouseInput MouseMovedHandler (setMouseMovedHandler). Specifically, I've tested this while running an IOS build on MacOS (Silicon M1). It seems to work fine in patches but then there are patches of a few seconds where no events are received, even though the mouse is being moved.

Not sure if this is a bug with the Apple API or an issue with RoboVM. Is there a way I can debug what is going on with this intermittent delay? Is there a specific thread on the Java side that's retrieving these events that could be held up by something else?

Thanks.

dkimitsa commented 2 years ago

hi, can you share a sample project or code snippet to work with ? thx