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
Hello! First of all thank you for your effort of maintaining this lib.
Could you help me to understand how to handle mouse in lock/hide mode in Full Screen?
Seems like glfm doesn't supports this mode?
And probably Resize canvas as well.
The text was updated successfully, but these errors were encountered:
I have spent some time to investigate this bit deeper. You are handing mouse inputs trough set of callbacks like glfm__mouseCallback
In mouse lock mode event->targetX stays the same. But event->movementX contains the delta of movement. Unfortunately I haven't found any related callback in GLFM to push this data to application.
Will appreciate for any suggestions.
Regarding ResizedFunc callback. I have noticed that function triggers each frame in case of Browser Zoom value is different from 100%. I suppose this behavior is related to code: int displayChanged = EM_ASM_INT_V({
Seems like it returns always positive in this case.
At the same time it doesn't handles the full screen case. It should be done using separate callback: emscripten_set_fullscreenchange_callback
Hello! First of all thank you for your effort of maintaining this lib.
Could you help me to understand how to handle mouse in lock/hide mode in Full Screen?
Seems like glfm doesn't supports this mode?
And probably Resize canvas as well.
The text was updated successfully, but these errors were encountered: