Skip to content

scrollMouse not working #538

Closed
Closed
@Veiintc

Description

@Veiintc

Expected Behavior

robot.scrollMouse(50, 50);

Current Behavior

It not work;

Possible Solution

when I replaced
SendInput(2, mouseScrollInputs, sizeof(mouseScrollInputs));
with
SendInput(1, &mouseScrollInputs[0], sizeof(mouseScrollInputs[0]));
SendInput(1, &mouseScrollInputs[1], sizeof(mouseScrollInputs[1]));
It work;

Your Environment

  • RobotJS version:0.6.0
  • Operating System:win10

The scrollMouse does not work, or maybe I doing something wrong?

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