i agree with hunting for discrete commands;
if you wanted to play around with some simpl+ (or c#..) see if this works for you?
int presses = 0;
int delta = currentInput - desiredInput;
if (delta < 0)
{
??? presses = delta * -1;
}
else if (delta > 0 )
{
??? presses = totalInputs - delta;
}