toggle-driven program
nounUK /ˈtɒɡl ˈdraɪvən ˈprəʊɡræm/
US /ˈtɑːɡl ˈdraɪvən ˈproʊɡræm/
A program that works by flipping switches on and off.
The toy robot is a toggle-driven program, so you press a button to make it walk or stop.
RELATED WORDS
OTHER MEANINGS
2. Software whose behavior changes each time a user flips a setting between two states.
The settings screen is a toggle-driven program: tap once for dark mode, tap again for light mode.
3. A simple game or app where pressing a single button toggles between two actions.
In this toggle-driven program, the space bar makes the character jump and then duck.
4. A control system that alternates between two modes based on switch input.
The factory machine runs a toggle-driven program that switches between filling and sealing bottles.