keyUpJustPressed(); // only for one frame on the frame of the press
keyUpStillPressed(); // for all on going frames
keyUpJustNotPressed(); // for one frame on the frame of the release
keyUpStillNotPressed(); //for all on going frames
keyUpSetupFire(int ); //configure the fireinterface for
keyUpFire(); //only once every so many frames (by the setup call)
how Philip's code for robotics worked which is pretty simple but sometimes having a thing to look at speeds along https://github.com/ftc16072/FreightFrenzy21-22/blob/master/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/ftc16072/utils/QQ_Button.java
We should do the java implementation first
The calls would be:
keyUp(); // is the key currently pressed
keyUpJustPressed(); // only for one frame on the frame of the press keyUpStillPressed(); // for all on going frames keyUpJustNotPressed(); // for one frame on the frame of the release keyUpStillNotPressed(); //for all on going frames
keyUpSetupFire(int ); //configure the fireinterface for keyUpFire(); //only once every so many frames (by the setup call)
And then the same for keyDown, keyLeft, ...