winconsole::window
pub fn get_cursor_position() -> WinResult<Vector2<i32>>
Returns the screen position of the cursor.
let position = window::get_cursor_position().unwrap(); println!("Cursor position: {:?}", position);
IoError