How can i function a Key Event in loop for CHARTEVENT_KEYDOWN?
Arpit T:
Count the press, then reset at 2 to zero.
I want to make it function like when case 57 or F key is pressed once it should trigger a = 1800, when it pressed again it should trigger a = 2200 when it pressed third time it should be 1800 again so it should be looping for these 2 values 1800 and 2200, I am wondering how can i do that?
I want to make it function like when case 57 or F key is pressed once it should trigger a = 1800, when it pressed again it should trigger a = 2200 when it pressed third time it should be 1800 again so it should be looping for these 2 values 1800 and 2200, I am wondering how can i do that?