Warning

This is the documentation the latest work-in-progress 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. This is probably ok, and means you’ll be on the latest, cutting-edge version of MPF.

However, if you want a more stable version, select the v:stable version from the lower-left corner of this page, which is the most recent version that is not getting new updates.

If you are new to MPF, we have recently rewritten the installation process which only applies to this “latest” 0.56, so you probably want to stay here because the prior installation process doesn’t work on the latest OS and Python versions.

flipper_cradle_release

MPF Event

Posted when one of the flipper buttons that has previously been active for more than 3 seconds has been released.

If the player pushes in one flipper button for more than 3 seconds, and then the second one and holds it in for more than 3 seconds, this event won’t be posted until both buttons have been released.

Note that in order for this event to work, you have to add left_flipper as a tag to the switch for your left flipper, and right_flipper to your right flipper.

See timed_switches: for details.

This event does not have any keyword arguments