virtual_platform_start_active_switches:ΒΆ

Config file section

Valid in machine config files YES
Valid in mode config files NO

The virtual_platform_start_active_switches: section of your config is where you define all switches which should start as active when running your machine with the virtual or smart_virtual platform (e.g. when running mpf -X).

This is an example:

switches:
    s_ball_switch1:
        number:
    s_ball_switch2:
        number:
    s_ball_switch3:
        number:

# Start with two (virtual) balls
virtual_platform_start_active_switches:
  - s_ball_switch1
  - s_ball_switch2