Hello,
I have already made a topic few months ago for a mouse and cursor lock problem in Chrome/Canary/Firefox and only one of them has been fixed by the web browser vendors.
Like the Web Player deadline is started on Firefox, i really want to see these issues fixed for the webGL because for my FPS, these problems are important.
Bug 1 :
In google chrome or canary, press tab to lock the cursor and use your mouse scroll without moving your mouse and after move your mouse a bit, you can see that the camera rotation change.
Everything work when the cursor is not locked. Everything is fine in firefox.
Bug 2 :
In google Canary ,if you use the mouse scroll foward or backward when the cursor is locked, you only get negative value. Work well when the cursor is not locked.
Everything is actually fine in Google Chrome and firefox.
Press TAB to lock the cursor and use your mouse scroll and see the Scroll Val below.
Bug 3 :
In firefox , when you unlock the cursor (Cursor.lockState = CursorLockMode.None; and Cursor.visible = true;), the camera rotate on the left if your cursor was on the left side before the lock (same for the right,up down).
Bug not present in google chrome/canary.
Move your cursor on the left or right and play with your tab button to test.
Tested on :
Google chrome 56.0.2924.87
Google Canary 59.0.3033.0
Firefox 51.0.1
WebGL test link : Gaming Style | Web Browser Game Solutions
WebGL source project : Gaming Style | Web Browser Game Solutions
If Marco-Trivellato or Schubkraft can take a look.
Thank you
Have a good day.