As the title states, is there a way to get the relative mouse coordinates to the sf::RenderWindow without locking the mouse cursor inside of the window border or monitor edges?
In glfw using a mouse callback function and setting the cursor with a glfw call it grabs the mouse coordinates relative to the glfwwindow but doesn't lock the mouse anywhere, the mouse is free to move on the x-axis as much as the user can drag the mouse.
The sf::RenderWindow function of setMouseCursorGrabbed(boolean, window) is a good function to use but as stated this locks the mouse inside the window.
If there is no way to do this via sfml, then is there a way I can use the glfw callbacks with an sf::RenderWindow?
The goal here is to make a fully rotate-able (360 degree) First Person Camera. I am currently unable to rotate the full 360 degrees, there is about 50 degrees lost when the mouse hits the right or left edge of the sfml renderWindow.