roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

mouse cursor API

Open CaptainTux opened this issue 2 years ago • 1 comments

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.

CaptainTux avatar Apr 17 '22 14:04 CaptainTux

It would also be useful to have a send key function.

yishin avatar Aug 04 '24 18:08 yishin