Skip to content

Mouse move is crazy when dpi is different #167

@idan-h

Description

@idan-h

On windows, if I use this:

simulate(&EventType::MouseMove { x: new_x, y: new_y }).unwrap();

and my dpi is not 100% (for example, 150), this moves to a much bigger x and y values than it should

if I set it to 100%, it works correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions