| 1 |
<?xml version="1.0"?> |
| 2 |
|
| 3 |
<PropertyList> |
| 4 |
|
| 5 |
<name>vr-options</name> |
| 6 |
<modal>false</modal> |
| 7 |
<resizable>false</resizable> |
| 8 |
<layout>vbox</layout> |
| 9 |
<default-padding>3</default-padding> |
| 10 |
|
| 11 |
<group> |
| 12 |
<layout>hbox</layout> |
| 13 |
<default-padding>1</default-padding> |
| 14 |
|
| 15 |
<text> |
| 16 |
<label>VR Options</label> |
| 17 |
</text> |
| 18 |
|
| 19 |
<empty> |
| 20 |
<stretch>true</stretch> |
| 21 |
</empty> |
| 22 |
|
| 23 |
<button> |
| 24 |
<legend>X</legend> |
| 25 |
<key>Esc</key> |
| 26 |
<pref-width>20</pref-width> |
| 27 |
<pref-height>20</pref-height> |
| 28 |
<binding> |
| 29 |
<command>dialog-close</command> |
| 30 |
</binding> |
| 31 |
</button> |
| 32 |
</group> |
| 33 |
|
| 34 |
<hrule/> |
| 35 |
|
| 36 |
<empty> |
| 37 |
<stretch>true</stretch> |
| 38 |
</empty> |
| 39 |
|
| 40 |
<group> |
| 41 |
<layout>vbox</layout> |
| 42 |
<padding>6</padding> |
| 43 |
<checkbox> |
| 44 |
<halign>left</halign> |
| 45 |
<label>Enable VR</label> |
| 46 |
<property>/sim/vr/enabled</property> |
| 47 |
<live>false</live> |
| 48 |
<binding> |
| 49 |
<command>dialog-apply</command> |
| 50 |
</binding> |
| 51 |
</checkbox> |
| 52 |
</group> |
| 53 |
|
| 54 |
<text> |
| 55 |
<halign>center</halign> |
| 56 |
<label>OpenXR Information</label> |
| 57 |
<enable><property>/sim/vr/present</property></enable> |
| 58 |
</text> |
| 59 |
|
| 60 |
<group> |
| 61 |
<layout>vbox</layout> |
| 62 |
<border>10</border> |
| 63 |
<halign>center</halign> |
| 64 |
<default-padding>2</default-padding> |
| 65 |
|
| 66 |
|
| 67 |
<text> |
| 68 |
<halign>left</halign> |
| 69 |
<label>OpenXR Runtime: MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM</label> |
| 70 |
<format>OpenXR Runtime: %s</format> |
| 71 |
<property>/sim/vr/openxr/runtime/name</property> |
| 72 |
<live>true</live> |
| 73 |
<enable><property>/sim/vr/present</property></enable> |
| 74 |
</text> |
| 75 |
|
| 76 |
<text> |
| 77 |
<halign>left</halign> |
| 78 |
<label>OpenXR System: MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM</label> |
| 79 |
<format>OpenXR System: %s</format> |
| 80 |
<property>/sim/vr/openxr/system/name</property> |
| 81 |
<live>true</live> |
| 82 |
<enable><property>/sim/vr/present</property></enable> |
| 83 |
</text> |
| 84 |
|
| 85 |
<text> |
| 86 |
<halign>left</halign> |
| 87 |
<label>VR State: MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM</label> |
| 88 |
<format>VR State: %s</format> |
| 89 |
<property>/sim/vr/state-string</property> |
| 90 |
<live>true</live> |
| 91 |
<enable><property>/sim/vr/present</property></enable> |
| 92 |
</text> |
| 93 |
<text> |
| 94 |
<halign>left</halign> |
| 95 |
<label></label> |
| 96 |
</text> |
| 97 |
<text> |
| 98 |
<halign>left</halign> |
| 99 |
<label></label> |
| 100 |
</text> |
| 101 |
</group> |
| 102 |
|
| 103 |
<group> |
| 104 |
<layout>hbox</layout> |
| 105 |
<default-padding>1</default-padding> |
| 106 |
<text> |
| 107 |
<label> </label> |
| 108 |
</text> |
| 109 |
<checkbox> |
| 110 |
<halign>left</halign> |
| 111 |
<label>Desktop Mirror</label> |
| 112 |
<property>/sim/vr/mirror-enabled</property> |
| 113 |
<live>true</live> |
| 114 |
<binding> |
| 115 |
<command>dialog-apply</command> |
| 116 |
</binding> |
| 117 |
<binding> |
| 118 |
<command>nasal</command> |
| 119 |
<script> |
| 120 |
if (getprop("/sim/rendering/compositor-reload-required")) { |
| 121 |
fgcommand("reload-compositor"); |
| 122 |
} |
| 123 |
</script> |
| 124 |
</binding> |
| 125 |
</checkbox> |
| 126 |
<empty><stretch>true</stretch></empty> |
| 127 |
<combo> |
| 128 |
<pref-width>250</pref-width> |
| 129 |
<live>true</live> |
| 130 |
<property>/sim/vr/mirror-mode</property> |
| 131 |
<value>AUTOMATIC</value> |
| 132 |
<value>NONE</value> |
| 133 |
<value>LEFT</value> |
| 134 |
<value>RIGHT</value> |
| 135 |
<value>LEFT_RIGHT</value> |
| 136 |
<binding> |
| 137 |
<command>dialog-apply</command> |
| 138 |
</binding> |
| 139 |
<binding> |
| 140 |
<command>nasal</command> |
| 141 |
<script> |
| 142 |
if (getprop("/sim/rendering/compositor-reload-required")) { |
| 143 |
fgcommand("reload-compositor"); |
| 144 |
} |
| 145 |
</script> |
| 146 |
</binding> |
| 147 |
</combo> |
| 148 |
|
| 149 |
<text> |
| 150 |
<label> </label> |
| 151 |
</text> |
| 152 |
|
| 153 |
</group> |
| 154 |
|
| 155 |
<empty> |
| 156 |
<stretch>true</stretch> |
| 157 |
</empty> |
| 158 |
|
| 159 |
<hrule/> |
| 160 |
|
| 161 |
<button> |
| 162 |
<legend>Close</legend> |
| 163 |
<default>true</default> |
| 164 |
<key>Esc</key> |
| 165 |
<binding> |
| 166 |
<command>dialog-close</command> |
| 167 |
</binding> |
| 168 |
</button> |
| 169 |
|
| 170 |
|
| 171 |
</PropertyList> |