yes, exactly, thats what i want, but without button release for the long duration.
i could make this working without switch statement using if/else statements.
what i dont understand here is my if statement has 2 conditions with both must be true to make the statement true. Why the 2nd one skipped?