Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mouse cursor API #7

Open
CaptainTux opened this issue Apr 17, 2022 · 0 comments
Open

mouse cursor API #7

CaptainTux opened this issue Apr 17, 2022 · 0 comments

Comments

@CaptainTux
Copy link

CaptainTux commented Apr 17, 2022

It would be awesome to have a native API to manipulate the mouse cursor.
Like repositioning it inside the window for given coordinates (for example window coordinates as in the browser), and lock/unlock it in the window.
On windows, there would be set_cursor_pos to reposition the mouse and set_cursor_grab to lock the mouse in a certain area.
I'm not sure what the equivalents are for other platforms are.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant