I am trying to find out if it is possible for JavaScript and HTML’s to take control of the mouse and introduce relative movement control – the type of mouse control you get in first person games (where the mouse can be moved in one direction and the player will infinitely turn until the mouse stops).
The only way I can think this could be achieved is by taking control of the mouse via JavaScript, which I’m sure is not possible. Does anyone have any ideas on this?
Good news old question, with the introduction of Mouse Lock, https://developer.mozilla.org/en/API/Mouse_Lock_API , you can capture relative movement.