Warning

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.

vpx (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

hardware:
    platform: virtual_pinball

switches:
    s_sling:
        number: 0
    s_flipper:
        number: 3
    s_test:
        number: 6

coils:
    c_sling:
        number: 0
    c_flipper:
        number: 1
        allow_enable: True
    c_test:
        number: 2
        allow_enable: True

lights:
  test_light1:
    number: 0
    subtype: matrix
  test_light2:
    number: 1
  test_flasher:
    number: 0
    subtype: flasher
  test_led1:
    number: 0
    subtype: led
  test_led2:
    number: 1
    subtype: led
  test_gi:
    number: 0
    subtype: gi

autofire_coils:
    ac_slingshot_test:
        coil: c_sling
        switch: s_sling

flippers:
    f_test:
        main_coil: c_flipper
        activation_switch: s_flipper