Skip to content

Commit 4d13756

Browse files
authored
Merge pull request #30 from Pennywise007/develop
2 parents 1ec188c + 14a428a commit 4d13756

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Simulator/include/IbInputSimulator/SendTypes

Simulator/include/IbInputSimulator/SendTypes/Razer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ namespace Send::Type::Internal {
106106
control.mi.Flags |= MOUSE_VIRTUAL_DESKTOP;
107107
}
108108
control.mi.LastX = mi.dx;
109-
control.mi.LastY = mi.dy;
109+
control.mi.LastY = (LONG)std::round(mi.dy / 1.2);
110110
}
111111

112112
if (mi.dwFlags & MOUSEEVENTF_LEFTDOWN)

0 commit comments

Comments
 (0)