<?xml version="1.0"?>
<!-- Honeycomb Brave configuration and test dialog -->
<PropertyList>
	<name>honeycomb-bravo</name>
	<layout>vbox</layout>

	<group>
		<layout>hbox</layout>
		<text>
			<label>Honeycomb Bravo Throttle Quadrant</label>
		</text>
		<empty>
			<stretch>1</stretch>
		</empty>
        <checkbox>
            <label>annunciators live</label>
            <property>/instrumentation/annunciators/property-rules-enabled</property>
            <live>1</live>
            <binding>
                <command>dialog-apply</command>
            </binding>
        </checkbox>
        <button>
            <legend>Cfg. Variant</legend>
            <pref-height>24</pref-height>
            <binding>
                <command>dialog-show</command>
                <dialog-name>input-config-select</dialog-name>
            </binding>
        </button>
		<button>
			<legend>X</legend>
			<key>Esc</key>
			<pref-width>20</pref-width>
			<pref-height>20</pref-height>
			<binding>
				<command>dialog-close</command>
			</binding>
		</button>
	</group>

	<hrule/>
    <group>
        <layout>hbox</layout>
        <group> <!-- left column, gear -->
            <layout>vbox</layout>
            <group>
                <layout>table</layout>
                <group><!-- nose-->
                    <layout>vbox</layout>
                    <row>0</row>
                    <col>1</col>
                    <checkbox>
                        <label>up</label>
                        <halign>left</halign>
                        <live>true</live>
                        <property>/instrumentation/annunciators/gear/nose/up</property>
                    </checkbox>
                    <checkbox>
                        <label>tr</label>
                        <halign>left</halign>
                        <live>true</live>
                        <property>/instrumentation/annunciators/gear/nose/in-transition</property>
                    </checkbox>
                    <checkbox>
                        <label>dn</label>
                        <halign>left</halign>
                        <live>true</live>
                        <property>/instrumentation/annunciators/gear/nose/down</property>
                    </checkbox>
                </group>
                <group><!-- left-->
                    <layout>vbox</layout>
                    <row>1</row>
                    <col>0</col>
                    <checkbox>
                        <label>up</label>
                        <halign>left</halign>
                        <live>true</live>
                        <property>/instrumentation/annunciators/gear/left/up</property>
                    </checkbox>
                    <checkbox>
                        <label>tr</label>
                        <halign>left</halign>
                        <live>true</live>
                        <property>/instrumentation/annunciators/gear/left/in-transition</property>
                    </checkbox>
                    <checkbox>
                        <label>dn</label>
                        <halign>left</halign>
                        <live>true</live>
                        <property>/instrumentation/annunciators/gear/left/down</property>
                    </checkbox>
                </group>
                <group><!-- right-->
                    <layout>vbox</layout>
                    <halign>left</halign>
                    <row>1</row>
                    <col>2</col>
                    <checkbox>
                        <label>up</label>
                        <halign>left</halign>
                        <live>true</live>
                        <property>/instrumentation/annunciators/gear/right/up</property>
                    </checkbox>
                    <checkbox>
                        <label>tr</label>
                        <halign>left</halign>
                        <live>true</live>
                        <property>/instrumentation/annunciators/gear/right/in-transition</property>
                    </checkbox>
                    <checkbox>
                        <label>dn</label>
                        <halign>left</halign>
                        <live>true</live>
                        <property>/instrumentation/annunciators/gear/right/down</property>
                    </checkbox>
                </group>
            </group>
            <group>
                <layout>hbox</layout>
                <slider>
                    <vertical>1</vertical>
                    <halign>center</halign>
                    <name>gear-lever</name>
                    <label>Gear</label>
                    <min>0</min>
                    <max>1</max>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/gear-lever-up</property>
                </slider>
                <slider>
                    <vertical>1</vertical>
                    <halign>center</halign>
                    <name>trim</name>
                    <label>Trim</label>
                    <min>-1</min>
                    <max>1</max>
                    <live>true</live>
                    <property>/controls/flight/elevator-trim</property>
                </slider>
            </group>
        </group>
        <vrule/>
        <group> <!-- center column-->
            <layout>vbox</layout>
            <group>
                <layout>hbox</layout>
                <group> <!-- setting selector -->
                    <layout>vbox</layout>
                    <text>
                        <halign>center</halign>
                        <property>/input/honeycomb/bravo/ap-setting-selector</property>
                        <live>1</live>
                    </text>
                    <text>
                        <halign>center</halign>
                        <label>Input select</label>
                    </text>
                </group>
                <vrule/>
                <group> <!-- AP buttons-->
                    <layout>table</layout>
                    <name>ap-buttons</name>
                    <button>
                        <legend>HDG</legend>
                        <row>0</row>
                        <col>1</col>
                        <binding>
                            <command>property-assign</command>
                            <property>/input/honeycomb/bravo/buttons/hdg</property>
                            <value>1</value>
                        </binding>
                        <mod-up>
                            <binding>
                                <command>property-assign</command>
                                <property>/input/honeycomb/bravo/buttons/hdg</property>
                                <value>0</value>
                            </binding>
                        </mod-up>
                    </button>
                    <button>
                        <legend>NAV</legend>
                        <row>0</row>
                        <col>2</col>
                        <repeatable>false</repeatable>
                        <binding>
                            <command>property-assign</command>
                            <property>/input/honeycomb/bravo/buttons/nav</property>
                            <value>1</value>
                        </binding>
                        <mod-up>
                            <binding>
                                <command>property-assign</command>
                                <property>/input/honeycomb/bravo/buttons/nav</property>
                                <value>0</value>
                            </binding>
                        </mod-up>
                    </button>
                    <button>
                        <legend>APR</legend>
                        <row>0</row>
                        <col>3</col>
                        <repeatable>false</repeatable>
                        <binding>
                            <command>property-assign</command>
                            <property>/input/honeycomb/bravo/buttons/apr</property>
                            <value>1</value>
                        </binding>
                        <mod-up>
                            <binding>
                                <command>property-assign</command>
                                <property>/input/honeycomb/bravo/buttons/apr</property>
                                <value>0</value>
                            </binding>
                        </mod-up>
                    </button>
                    <button>
                        <legend>REW</legend>
                        <row>0</row>
                        <col>4</col>
                        <repeatable>false</repeatable>
                        <binding>
                            <command>property-assign</command>
                            <property>/input/honeycomb/bravo/buttons/rev</property>
                            <value>1</value>
                        </binding>
                        <mod-up>
                            <binding>
                                <command>property-assign</command>
                                <property>/input/honeycomb/bravo/buttons/rev</property>
                                <value>0</value>
                            </binding>
                        </mod-up>
                    </button>
                    <button>
                        <legend>ALT</legend>
                        <row>0</row>
                        <col>5</col>
                        <repeatable>false</repeatable>
                        <binding>
                            <command>property-assign</command>
                            <property>/input/honeycomb/bravo/buttons/alt</property>
                            <value>1</value>
                        </binding>
                        <mod-up>
                            <binding>
                                <command>property-assign</command>
                                <property>/input/honeycomb/bravo/buttons/alt</property>
                                <value>0</value>
                            </binding>
                        </mod-up>
                    </button>
                    <button>
                        <legend>VS</legend>
                        <row>0</row>
                        <col>6</col>
                        <repeatable>false</repeatable>
                        <binding>
                            <command>property-assign</command>
                            <property>/input/honeycomb/bravo/buttons/vs</property>
                            <value>1</value>
                        </binding>
                        <mod-up>
                            <binding>
                                <command>property-assign</command>
                                <property>/input/honeycomb/bravo/buttons/vs</property>
                                <value>0</value>
                            </binding>
                        </mod-up>
                    </button>
                    <button>
                        <legend>IAS</legend>
                        <row>0</row>
                        <col>7</col>
                        <repeatable>false</repeatable>
                        <binding>
                            <command>property-assign</command>
                            <property>/input/honeycomb/bravo/buttons/ias</property>
                            <value>1</value>
                        </binding>
                        <mod-up>
                            <binding>
                                <command>property-assign</command>
                                <property>/input/honeycomb/bravo/buttons/ias</property>
                                <value>0</value>
                            </binding>
                        </mod-up>
                    </button>
                    <button>
                        <legend>AP enabled</legend>
                        <row>0</row>
                        <col>8</col>
                        <repeatable>false</repeatable>
                        <binding>
                            <command>property-assign</command>
                            <property>/input/honeycomb/bravo/buttons/autopilot</property>
                            <value>1</value>
                        </binding>
                        <mod-up>
                            <binding>
                                <command>property-assign</command>
                                <property>/input/honeycomb/bravo/buttons/autopilot</property>
                                <value>0</value>
                            </binding>
                        </mod-up>
                    </button>
                    <checkbox>
                        <row>1</row>
                        <col>1</col>
                        <label></label>
                        <property>/instrumentation/annunciators/autoflight/ap/mode/hdg</property>
                        <binding>
                            <command>dialog-apply</command>
                        </binding>
                    </checkbox>
                    <checkbox>
                        <row>1</row>
                        <col>2</col>
                        <label></label>
                        <property>/instrumentation/annunciators/autoflight/ap/mode/nav</property>
                        <binding>
                            <command>dialog-apply</command>
                        </binding>
                    </checkbox>
                    <checkbox>
                        <row>1</row>
                        <col>3</col>
                        <label></label>
                        <property>/instrumentation/annunciators/autoflight/ap/mode/apr</property>
                        <binding>
                            <command>dialog-apply</command>
                        </binding>
                    </checkbox>
                    <checkbox>
                        <row>1</row>
                        <col>4</col>
                        <label></label>
                        <property>/instrumentation/annunciators/autoflight/ap/mode/rev</property>
                        <binding>
                            <command>dialog-apply</command>
                        </binding>
                    </checkbox>
                    <checkbox>
                        <row>1</row>
                        <col>5</col>
                        <label></label>
                        <property>/instrumentation/annunciators/autoflight/ap/mode/alt</property>
                        <binding>
                            <command>dialog-apply</command>
                        </binding>
                    </checkbox>
                    <checkbox>
                        <row>1</row>
                        <col>6</col>
                        <label></label>
                        <property>/instrumentation/annunciators/autoflight/ap/mode/vs</property>
                        <binding>
                            <command>dialog-apply</command>
                        </binding>
                    </checkbox>
                    <checkbox>
                        <row>1</row>
                        <col>7</col>
                        <label></label>
                        <property>/instrumentation/annunciators/autoflight/ap/mode/ias</property>
                        <binding>
                            <command>dialog-apply</command>
                        </binding>
                    </checkbox>
                    <text>
                        <row>1</row>
                        <col>8</col>
                        <label>&lt;&lt; Annunciators</label>
                    </text>
                </group>
            </group>
            <hrule />
            <group> <!-- Switches -->
                <layout>table</layout>
                <text>
                    <row>1</row>
                    <col>0</col>
                    <label>Switches</label>
                </text>
                <checkbox>
                    <row>1</row>
                    <col>1</col>
                    <halign>left</halign>
                    <label>s1</label>
                    <property>/input/honeycomb/bravo/switches/s[1]</property>
                    <live>1</live>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>2</col>
                    <halign>left</halign>
                    <label>s2</label>
                    <property>/input/honeycomb/bravo/switches/s[2]</property>
                    <live>1</live>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>3</col>
                    <halign>left</halign>
                    <label>s3</label>
                    <property>/input/honeycomb/bravo/switches/s[3]</property>
                    <live>1</live>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>4</col>
                    <halign>left</halign>
                    <label>s4</label>
                    <property>/input/honeycomb/bravo/switches/s[4]</property>
                    <live>1</live>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>5</col>
                    <halign>left</halign>
                    <label>s5</label>
                    <property>/input/honeycomb/bravo/switches/s[5]</property>
                    <live>1</live>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>6</col>
                    <halign>left</halign>
                    <label>s6</label>
                    <property>/input/honeycomb/bravo/switches/s[6]</property>
                    <live>1</live>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>7</col>
                    <halign>left</halign>
                    <label>s7</label>
                    <property>/input/honeycomb/bravo/switches/s[7]</property>
                    <live>1</live>
                </checkbox>
            </group>
            <hrule />
            <group> <!-- Annunciators -->
                <layout>table</layout>
                <checkbox>
                    <row>0</row>
                    <col>1</col>
                    <halign>left</halign>
                    <label>Master Warning</label>
                    <property>/instrumentation/annunciators/master-warning/state</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>0</row>
                    <col>2</col>
                    <halign>left</halign>
                    <label>Engine fire</label>
                    <property>/instrumentation/annunciators/engines/fire</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>0</row>
                    <col>3</col>
                    <halign>left</halign>
                    <label>Low oil pressure</label>
                    <property>/instrumentation/annunciators/engines/oil-pressure-low</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>0</row>
                    <col>4</col>
                    <halign>left</halign>
                    <label>Low fuel pressure</label>
                    <property>/instrumentation/annunciators/systems/fuel/pressure-low</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>0</row>
                    <col>5</col>
                    <halign>left</halign>
                    <label>Anti ice</label>
                    <property>/instrumentation/annunciators/systems/anti-ice/enabled</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>0</row>
                    <col>6</col>
                    <halign>left</halign>
                    <label>Starter engaged</label>
                    <property>/instrumentation/annunciators/engines/starter</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>0</row>
                    <col>7</col>
                    <halign>left</halign>
                    <label>APU</label>
                    <property>/instrumentation/annunciators/engines/apu/enabled</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>1</col>
                    <halign>left</halign>
                    <label>Master Caution</label>
                    <property>/instrumentation/annunciators/master-caution/state</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>2</col>
                    <halign>left</halign>
                    <label>Vacuum</label>
                    <property>/instrumentation/annunciators/systems/vacuum</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>3</col>
                    <halign>left</halign>
                    <label>Low hyd pressure</label>
                    <property>/instrumentation/annunciators/systems/hyd/pressure-low</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>4</col>
                    <halign>left</halign>
                    <label>Aux fuel pump</label>
                    <property>/instrumentation/annunciators/systems/fuel/aux-pump</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>5</col>
                    <halign>left</halign>
                    <label>Parking brake</label>
                    <property>/instrumentation/annunciators/gear/parking-brake</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>6</col>
                    <halign>left</halign>
                    <label>Low volts</label>
                    <property>/instrumentation/annunciators/systems/electric/low-voltage</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
                <checkbox>
                    <row>1</row>
                    <col>7</col>
                    <halign>left</halign>
                    <label>Doors</label>
                    <property>/instrumentation/annunciators/doors</property>
                    <live>1</live>
                    <binding>
                        <command>dialog-apply</command>
                    </binding>
                </checkbox>
            </group>
            <hrule />
            <group>    <!-- Levers-->
                <layout>table</layout>
                <slider>
                    <row>0</row>
                    <col>0</col>
                    <vertical>1</vertical>
                    <name>lever-0</name>
                    <min>0</min>
                    <max>1</max>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/lever[0]</property>
                </slider>
                <slider>
                    <row>0</row>
                    <col>1</col>
                    <vertical>1</vertical>
                    <name>lever-1</name>
                    <min>0</min>
                    <max>1</max>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/lever[1]</property>
                </slider>
                <slider>
                    <row>0</row>
                    <col>2</col>
                    <vertical>1</vertical>
                    <name>lever-2</name>
                    <min>0</min>
                    <max>1</max>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/lever[2]</property>
                </slider>
                <slider>
                    <row>0</row>
                    <col>3</col>
                    <vertical>1</vertical>
                    <name>lever-3</name>
                    <min>0</min>
                    <max>1</max>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/lever[3]</property>
                </slider>
                <slider>
                    <row>0</row>
                    <col>4</col>
                    <vertical>1</vertical>
                    <name>lever-4</name>
                    <min>0</min>
                    <max>1</max>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/lever[4]</property>
                </slider>
                <slider>
                    <row>0</row>
                    <col>5</col>
                    <vertical>1</vertical>
                    <name>lever-5</name>
                    <min>0</min>
                    <max>1</max>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/lever[5]</property>
                </slider>
                <text>
                    <row>1</row>
                    <col>0</col>
                    <halign>left</halign>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/mappings/lev0</property>
                </text>
                <text>
                    <row>2</row>
                    <col>1</col>
                    <halign>left</halign>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/mappings/lev1</property>
                </text>
                <text>
                    <row>3</row>
                    <col>2</col>
                    <halign>left</halign>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/mappings/lev2</property>
                </text>
                <text>
                    <row>1</row>
                    <col>3</col>
                    <halign>left</halign>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/mappings/lev3</property>
                </text>
                <text>
                    <row>2</row>
                    <col>4</col>
                    <halign>left</halign>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/mappings/lev4</property>
                </text>
                <text>
                    <row>3</row>
                    <col>4</col>
                    <halign>center</halign>
                    <live>true</live>
                    <property>/input/honeycomb/bravo/mappings/lev5</property>
                </text>

            </group>
        </group>
    </group>
</PropertyList>
