In our application we have the requirement to lock/unlock the cursor quite frequently.
As I do not want the user to constantly click on the iframe if the cursor is locked the remote application sends a cursor locking signal to the js frontend indicating that the cursor needs locking. This works fine basically, the cursor is hidden and locked as I only need an explicit user gesture the first time the cursor is locked (except if the escape key is pressed).
However the furioos player keeps displaying "click to lock cursor" in the lower right corner even if the cursor is already locked and after the cursor is locked no mouse input whatsoever is transmitted to the remote application.
Is there someway to tell the player that the cursor is locked? There are maximize()/minimize() methods but no cursor locking methods available.
The following code is executed whenever I receive a cursor lock request through the OnSDKMessage callback:
In our application we have the requirement to lock/unlock the cursor quite frequently. As I do not want the user to constantly click on the iframe if the cursor is locked the remote application sends a cursor locking signal to the js frontend indicating that the cursor needs locking. This works fine basically, the cursor is hidden and locked as I only need an explicit user gesture the first time the cursor is locked (except if the escape key is pressed).
However the furioos player keeps displaying "click to lock cursor" in the lower right corner even if the cursor is already locked and after the cursor is locked no mouse input whatsoever is transmitted to the remote application. Is there someway to tell the player that the cursor is locked? There are maximize()/minimize() methods but no cursor locking methods available.
The following code is executed whenever I receive a cursor lock request through the OnSDKMessage callback: