Ok, so I have an idea.
Make sure you can store the current coordinates and the last two. So, in my sample here, I'll use new, old and older.. but you'll need to adapt it to the way Wii works.
if ((abs(new.x - old.x) == abs(old.x - older.x)) && (abs(new.y - old.y) == abs(old.y - older.y)))
{
mouse.x = new.x;
mouse.y = new.y;
}
else
{
mouse.x = old.x;
mouse.y = old.y;
}
older.x = old.x;
older.y = old.y;
old.x = new.x;
old.y = new.y;
I believe this should counter the shaking, although the response would be a bit suspicious on the initial move.
Project Perfect ModCommand & Conquer Mods, Mods Support, Public Researchs, Map Archives, Tutorials, Tools, A Friendly Community and much more. Check it out now!