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.
switch_controller (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 switches: s_test: number: 1 s_test_events: number: 2 events_when_activated: test_active|100ms, test_active2 events_when_deactivated: test_inactive, test_inactive2|2s s_test_window_ms: number: 3 ignore_window_ms: 100ms s_test_invert: number: 4 type: 'NC'