You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After calling defos.set_cursor_locked(true) on macOS, Defold doesn’t receive dx/dy events anymore. I suspect it’s because Defold’s input code diffs mouse positions instead of using NSEvent.deltaX and NSEvent.deltaY.
I tried locking the cursor both by calling CGAssociateMouseAndMouseCursorPosition(false) and by repeatedly setting the mouse position to the same point each frame with CGWarpMouseCursorPosition() and I got the same results.
The text was updated successfully, but these errors were encountered:
After calling
defos.set_cursor_locked(true)
on macOS, Defold doesn’t receive dx/dy events anymore. I suspect it’s because Defold’s input code diffs mouse positions instead of usingNSEvent.deltaX
andNSEvent.deltaY
.I tried locking the cursor both by calling
CGAssociateMouseAndMouseCursorPosition(false)
and by repeatedly setting the mouse position to the same point each frame withCGWarpMouseCursorPosition()
and I got the same results.The text was updated successfully, but these errors were encountered: