roadmap
roadmap copied to clipboard
mouse cursor API
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.
It would also be useful to have a send key function.