piston
piston copied to clipboard
Does piston have support for setting mouse position?
Hi,
This might not be the right place, but I wasn't really sure where to ask questions. I couldn't find anything in the docs about it, does piston support setting the position of the mouse?
The Piston core doesn't support it, but you can do it through the backend. E.g. Sdl2Window
exposes the window handle https://docs.rs/pistoncore-sdl2_window/0.50.0/sdl2_window/struct.Sdl2Window.html#structfield.window
Thank you. Is this where I should ask any questions?
Yes.