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