I've done this. The problem IIRC ( and it has been a while ) is that Blitz's mouselag problem causes some input to get dropped altogether. Meaning that after some time, the mouse gets out of sync with where you really are, and it reaches a point where it thinks the edge of the screen is somewhere less than the edge of the screen.
This *may* not still be an issue, but it's a consideration. If it *is* still a problem, you need to integrate a gentle move back towards the true mouse position without interfering with the mouse input too much. It can be tricky to do this without the user feeling like the mouse has a mind of it's own.
Ideally, BRL would implement a proper system for this so we can set the mouse sensitivity directly. Most similar languages/engines seem to do that.
This *may* not still be an issue, but it's a consideration. If it *is* still a problem, you need to integrate a gentle move back towards the true mouse position without interfering with the mouse input too much. It can be tricky to do this without the user feeling like the mouse has a mind of it's own.
Ideally, BRL would implement a proper system for this so we can set the mouse sensitivity directly. Most similar languages/engines seem to do that.