11-01-2022, 05:28 AM
The API makes some sense when you think of it as a way to directly make use of mouse movement, not a way to track where the cursor is. It's simply not intended for that usage, it's intended for the case where the application has hidden the cursor and is using the mouse to move a camera or etc. In that situation they don't want the cursor acceleration and speed to impact it, such settings are likely configurable within their application instead and they handle it themselves.
Potentially we could add commands for getting the absolute cursor position, it sounds fairly achievable. We'd have to work out how it fits in with the rest of the mouse stuff though, throwing it into _MouseInput might not be the best (your program would have to handle every mouse event from the system), and also we wouldn't want it easily confusable with the existing `_MouseX` and `_MouseY`.
Potentially we could add commands for getting the absolute cursor position, it sounds fairly achievable. We'd have to work out how it fits in with the rest of the mouse stuff though, throwing it into _MouseInput might not be the best (your program would have to handle every mouse event from the system), and also we wouldn't want it easily confusable with the existing `_MouseX` and `_MouseY`.