float compensation[10][2] = {{2, 2}, {2, 2}, {2, 2}, {2, 2}, {2, 2}};
float mouseX = 0, mouseY = 0;
while (true)
{
if (GetAsyncKeyState(VK_LBUTTON) == -32768)
{
for (short int i = 0; i < 10; i++)
{
//get current mouse position
mouseX = compensation[i][0];
mouseY = compensation[i][1];
//new mouse position from the current position modified by mouseX/mouseY.
//set new mouse position
}
}
}
