Here is an explanation of some of the operator control programming “assists” that we used last season: What do you think is a more efficient way to drive your robot? - #37 by _Colossus
Just like others have mentioned, we also used macros and state-machines for tasks like pressing a button once and having our arm move up to a predefined height, or pressing one button and shooting exactly one/two balls.