Mouse axes become 0 at the edge of the screen

The title bascially says it all - I’m using mouse input to rotate my camera, but as soon as the mouse gets to the edge of screen the axis value becomes 0, so basically I can’t do a 360 turn.

Is my question unclear, or is it that no one knows what might be the problem?