First version of flightgear RMP config
Signed-off-by: fly <merspieler@alwaysdata.net>
This commit is contained in:
parent
c852489fd6
commit
99ffeb4ab2
1 changed files with 346 additions and 0 deletions
346
Simulators/flightgear/HID/FLC-Meow-RMP-Captain.xml
Normal file
346
Simulators/flightgear/HID/FLC-Meow-RMP-Captain.xml
Normal file
|
@ -0,0 +1,346 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<PropertyList>
|
||||
<name type="string">FLC Meow RMP Captain</name>
|
||||
<!-- Axis -->
|
||||
<event>
|
||||
<name>abs-z-translate-1</name>
|
||||
<desc type="string">VHF1 Volume</desc>
|
||||
<min-range>-4095</min-range>
|
||||
<max-range>4095</max-range>
|
||||
<binding>
|
||||
<command type="string">property-scale</command>
|
||||
<property type="string">/controls/audio/acp[0]/vhf1-volume</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if ( getprop("/controls/audio/acp[0]/vhf1-volume") > 0.1 )
|
||||
{
|
||||
setprop("/controls/audio/acp[0]/vhf1-recive", 1);
|
||||
} else {
|
||||
setprop("/controls/audio/acp[0]/vhf1-recive", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>abs-z-translate-2</name>
|
||||
<desc type="string">VHF2 Volume</desc>
|
||||
<min-range>-4095</min-range>
|
||||
<max-range>4095</max-range>
|
||||
<binding>
|
||||
<command type="string">property-scale</command>
|
||||
<property type="string">/controls/audio/acp[0]/vhf2-volume</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if ( getprop("/controls/audio/acp[0]/vhf2-volume") > 0.1 )
|
||||
{
|
||||
setprop("/controls/audio/acp[0]/vhf2-recive", 1);
|
||||
} else {
|
||||
setprop("/controls/audio/acp[0]/vhf2-recive", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>abs-z-translate-3</name>
|
||||
<desc type="string">VHF3 Volume</desc>
|
||||
<min-range>-4095</min-range>
|
||||
<max-range>4095</max-range>
|
||||
<binding>
|
||||
<command type="string">property-scale</command>
|
||||
<property type="string">/controls/audio/acp[0]/vhf3-volume</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if ( getprop("/controls/audio/acp[0]/vhf3-volume") > 0.1 )
|
||||
{
|
||||
setprop("/controls/audio/acp[0]/vhf3-recive", 1);
|
||||
} else {
|
||||
setprop("/controls/audio/acp[0]/vhf3-recive", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>abs-z-translate-4</name>
|
||||
<desc type="string">HF1 Volume</desc>
|
||||
<min-range>-4095</min-range>
|
||||
<max-range>4095</max-range>
|
||||
<binding>
|
||||
<command type="string">property-scale</command>
|
||||
<property type="string">/controls/audio/acp[0]/hf1-volume</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if ( getprop("/controls/audio/acp[0]/hf1-volume") > 0.1 )
|
||||
{
|
||||
setprop("/controls/audio/acp[0]/hf1-recive", 1);
|
||||
} else {
|
||||
setprop("/controls/audio/acp[0]/hf1-recive", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>abs-z-translate-5</name>
|
||||
<desc type="string">HF2 Volume</desc>
|
||||
<min-range>-4095</min-range>
|
||||
<max-range>4095</max-range>
|
||||
<binding>
|
||||
<command type="string">property-scale</command>
|
||||
<property type="string">/controls/audio/acp[0]/hf2-volume</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if ( getprop("/controls/audio/acp[0]/hf2-volume") > 0.1 )
|
||||
{
|
||||
setprop("/controls/audio/acp[0]/hf2-recive", 1);
|
||||
} else {
|
||||
setprop("/controls/audio/acp[0]/hf2-recive", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>abs-z-translate-6</name>
|
||||
<desc type="string">TEL1 Volume</desc>
|
||||
<min-range>-4095</min-range>
|
||||
<max-range>4095</max-range>
|
||||
<binding>
|
||||
<command type="string">property-scale</command>
|
||||
<property type="string">/controls/audio/acp[0]/tel1-volume</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if ( getprop("/controls/audio/acp[0]/tel1-volume") > 0.1 )
|
||||
{
|
||||
setprop("/controls/audio/acp[0]/tel1-recive", 1);
|
||||
} else {
|
||||
setprop("/controls/audio/acp[0]/tel1-recive", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>abs-z-translate-7</name>
|
||||
<desc type="string">TEL2 Volume</desc>
|
||||
<min-range>-4095</min-range>
|
||||
<max-range>4095</max-range>
|
||||
<binding>
|
||||
<command type="string">property-scale</command>
|
||||
<property type="string">/controls/audio/acp[0]/tel2-volume</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if ( getprop("/controls/audio/acp[0]/tel2-volume") > 0.1 )
|
||||
{
|
||||
setprop("/controls/audio/acp[0]/tel2-recive", 1);
|
||||
} else {
|
||||
setprop("/controls/audio/acp[0]/tel2-recive", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>abs-z-translate-8</name>
|
||||
<desc type="string">INT Volume</desc>
|
||||
<min-range>-4095</min-range>
|
||||
<max-range>4095</max-range>
|
||||
<binding>
|
||||
<command type="string">property-scale</command>
|
||||
<property type="string">/controls/audio/acp[0]/int-volume</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if ( getprop("/controls/audio/acp[0]/int-volume") > 0.1 )
|
||||
{
|
||||
setprop("/controls/audio/acp[0]/int-recive", 1);
|
||||
} else {
|
||||
setprop("/controls/audio/acp[0]/int-recive", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>abs-z-translate-9</name>
|
||||
<desc type="string">CAB Volume</desc>
|
||||
<min-range>-4095</min-range>
|
||||
<max-range>4095</max-range>
|
||||
<binding>
|
||||
<command type="string">property-scale</command>
|
||||
<property type="string">/controls/audio/acp[0]/cab-volume</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if ( getprop("/controls/audio/acp[0]/cab-volume") > 0.1 )
|
||||
{
|
||||
setprop("/controls/audio/acp[0]/cab-recive", 1);
|
||||
} else {
|
||||
setprop("/controls/audio/acp[0]/cab-recive", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>abs-z-translate-10</name>
|
||||
<desc type="string">PA Volume</desc>
|
||||
<min-range>-4095</min-range>
|
||||
<max-range>4095</max-range>
|
||||
<binding>
|
||||
<command type="string">property-scale</command>
|
||||
<property type="string">/controls/audio/acp[0]/pa-volume</property>
|
||||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
if ( getprop("/controls/audio/acp[0]/pa-volume") > 0.1 )
|
||||
{
|
||||
setprop("/controls/audio/acp[0]/pa-recive", 1);
|
||||
} else {
|
||||
setprop("/controls/audio/acp[0]/pa-recive", 0);
|
||||
}
|
||||
</script>
|
||||
</binding>
|
||||
</event>
|
||||
<!-- Buttons -->
|
||||
<event>
|
||||
<name>button-1</name>
|
||||
<desc type="string">VHF3 Transmit</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/call_chan</property>
|
||||
<value>vhf3</value>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-2</name>
|
||||
<desc type="string">TEL1 Transmit</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/call_chan</property>
|
||||
<value>tel1</value>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-3</name>
|
||||
<desc type="string">CAB Transmit</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/call_chan</property>
|
||||
<value>att</value>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-4</name>
|
||||
<desc type="string">PA Transmit</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/pa</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/pa</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-5</name>
|
||||
<desc type="string">VHF1 Transmit</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/call_chan</property>
|
||||
<value>vhf1</value>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-6</name>
|
||||
<desc type="string">HF1 Transmit</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/call_chan</property>
|
||||
<value>hf1</value>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-7</name>
|
||||
<desc type="string">TEL2 Transmit</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/call_chan</property>
|
||||
<value>tel2</value>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-9</name>
|
||||
<desc type="string">VHF2 Transmit</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/call_chan</property>
|
||||
<value>vhf2</value>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-10</name>
|
||||
<desc type="string">HF2 Transmit</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/call_chan</property>
|
||||
<value>hf2</value>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-11</name>
|
||||
<desc type="string">INT Transmit</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property>/systems/audio/acp[0]/call_chan</property>
|
||||
<value>mech</value>
|
||||
</binding>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-61</name>
|
||||
<desc type="string">INT Switch</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property type="string">/controls/audio/acp[0]/int-rad</property>
|
||||
<value>2</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property type="string">/controls/audio/acp[0]/int-rad</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</event>
|
||||
<event>
|
||||
<name>button-62</name>
|
||||
<desc type="string">RAD Switch</desc>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property type="string">/controls/audio/acp[0]/int-rad</property>
|
||||
<value>0</value>
|
||||
</binding>
|
||||
<mod-up>
|
||||
<binding>
|
||||
<command>property-assign</command>
|
||||
<property type="string">/controls/audio/acp[0]/int-rad</property>
|
||||
<value>1</value>
|
||||
</binding>
|
||||
</mod-up>
|
||||
</event>
|
||||
</PropertyList>
|
Loading…
Add table
Reference in a new issue