This is the dev documentation for an unreleased version of MPF!
This is the documentation for MPF 0.56+, which is the “dev” (next) release of MPF that is a work-in-progress. Unless you’re specifically looking for this version, you probably want to use the version of documentation called “latest” which is for the latest released version of MPF. That documentation is at docs.missionpinball.org/en/latest.
timed_switches (example config files)¶
Machine config examples¶
Here are some example machine-wide config files that show real-world examples of how these configs are used.
#config_version=5 modes: - mode1 switches: switch1: number: switch2: number: switch3: number: switch4: number: tags: left_flipper switch5: number: tags: right_flipper timed_switches: group1: switches: switch1, switch2 time: 2s another_one: switches: switch3 time: 2000ms state: inactive events_when_active: active_event events_when_released: release_event
Mode config examples¶
Here are some example mode config files that go along with the machine-wide config above.
#config_version=5 mode: game_mode: False timed_switches: mode_switch: switches: switch2, switch3 time: 2s