In Rust my cursor is being moved to the top left of my screen while in Python it is moving where I want it to go. I am using the enigo crate in Rust and ctypes
in Python.
This is my Rust code
let mut enigo = Enigo::new(&Settings::default()).unwrap();
enigo.move_mouse(966, 1055, Coordinate::Abs).unwrap();
This is my Python code
ctypes.windll.user32.SetCursorPos(966, 1055)
Notes: I have 2 monitors. My main one is 1440p and my second one is 1080p.