SetMouseRelative( flag )

Sets mouse into relative mode. It will hide the cursor and only report relative motions.

Example: