This change allows us to pass any number of additional properties to embedPC(), which in turn can override properties contained in the XML file; the only property overrides currently supported are 'state' (which overrides any 'state' property set in the XML's <computer> element) and 'automount' (which overrides any 'automount' property set in the XML's <fdc> element). The goal is to make it easier to reuse XML machine definitions, by allowing commonly altered component attributes to be overridden.
6 lines
244 B
XML
6 lines
244 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<keyboard id="keyboard" padleft="8px">
|
|
<control type="button" binding="esc">ESC</control>
|
|
<control type="button" binding="f1">F1</control>
|
|
<control type="button" binding="f10">F10</control>
|
|
</keyboard>
|